foo!(bar) ==> foo{bar}

ore-sama spam at here.lot
Tue Oct 7 09:40:15 PDT 2008


Walter Bright Wrote:

> The foo.(bar) syntax seems to be sinking. The foo{bar} seems to be the 
> most practical alternative. So, how about putting it in the next D2 
> release on a trial basis, so people can try it out and see how it looks?

How about struct initializers syntax? I don't know what are you planning to do with it, Lars proposed to use curly braces. This can interfere (a little) with template instantiation syntax.



More information about the Digitalmars-d mailing list