Aliases

Walter Bright newshound at digitalmars.com
Tue Oct 24 02:27:09 PDT 2006


Reiner Pope wrote:
> While I do think that (if just for consistency's sake) we shouldn't have 
> this restriction on aliases, I realise that this is a problem of 
> syntactical optimization, and the best approach (again) would be to 
> embody a form of metaprogramming which could support this sort of thing 
> in libraries because this is not the only syntactical inefficiency in 
> the language, and we need some much more extensible way to remove such 
> inefficiencies; I think Nemerle could be a good place to look for such a 
> metaprogramming/macro system.

I agree with all of your points. Whether it is worth adding more to D to 
account for it basically depends on how often this happens, and how 
onerous are the workarounds.



More information about the Digitalmars-d mailing list