<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, 9 Dec 2024 at 03:51, Monkyyy via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sunday, 8 December 2024 at 05:54:40 UTC, Manu wrote:<br>
><br>
> Surely people have had better ideas? No, no templates;<br>
<br>
I'm pretty sure this only could work with templates and with <br>
templates it would just happen.<br></blockquote><div><br></div><div>This doesn't <i>require</i> templates. Obviously there is a template solution, but I'm very sensitive to code repetition and template bloat.</div><div>I'm pretty bored of D's "everything is templates" mentality; it's one of D's biggest attractions, and also D's single biggest trap.</div><div>We need to work towards making more things sane without resorting to the sledgehammer.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Or better yet, be inlined by the optimizer using function <br>
litteralls<br></blockquote><div><br></div><div>This is not about inlining; these functions are not to be inlined.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
"How do I get rid of this bruise on my head, no without stopping <br>
hitting my head with the hammer, surely someone with medical <br>
skills could actually help me"<br></blockquote><div><br></div><div><font size="6">🤨</font> <br></div></div></div>