On 11/07/2012 11:42 PM, Walter Bright wrote:
On 11/7/2012 1:16 PM, Timon Gehr wrote:
Text interpolation.

enum d = "c";

mixin(X!"abc@(d)ef"); // -> abccef

I use it mostly for code generation.

mixin(mixin(X!q{
     if(@(a)) @(b);
}));

I see. How hard would it be to change it?

Not too hard, it can probably be automated.
I do not have issues with fixing up my code after breaking changes.

Even without this consideration, I still prefer

@[a,b,c]


Reply via email to