On Sunday, 1 February 2026 at 20:49:34 UTC, monkyyy wrote:
On Sunday, 1 February 2026 at 12:54:15 UTC, Lars Johansson
wrote:
I put templates on the shelf for now, my skill level is to low
to understand templates.
You need 3 patterns total to write every range function in the
style I suggest; I stand by my original suggestion; the
complexity of template hell comes in when you try to annotate,
introspect, or have a some kind of big ask.
Phoboes annotates functions and explodes its line count often
by 10x to 100x
I do not follow. Are you implying there are a category of
templates that is relatively easy to understand, and I can avoid
what you call template hell. Can you please be a bit more
explicit and give an example.