<p>On Feb 25, 2012 9:08 AM, "Zach the Mystic" <<a href="mailto:reachzachatgooglesmailservice@dot.com">reachzachatgooglesmailservice@dot.com</a>> wrote:<br>
><br>
> On 2/23/12 7:33 PM, Ellery Newcomer wrote:<br>
>>><br>
>>> import std.stdio;<br>
>>><br>
>>> mixin template helpMe()<br>
>>> {<br>
>>> writeln("Satisfying!");<br>
>>> }<br>
>><br>
>> does it do that if you replace the statement with a declaration?<br>
>><br>
>> like this:<br>
>><br>
>> mixin template helpMe()<br>
>> {<br>
>> int durrr = (writeln("Satisfying!"), 1);<br>
>> }<br>
><br>
><br>
> No, it doesn't. You're right. I guess I have a long way to go to learn these things.<br>
><br>
> Thank you. Even at my primitive level, though, I can see how awesome these things could be once you know how to program them. Does any other language come close to D in terms of generics? I don't know, I'm just asking?<br>

><br>
> Zach</p>
<p>Lisp macros. But that's not a fair comparison, Lisp's object system was built using their macros...</p>
<p>--<br>
James Miller</p>