"with" still sucks + removing features + adding features

Chris Mueller ruun.net at googlemail.com
Mon May 18 06:41:19 PDT 2009


Nick Sabalausky schrieb:
> "Derek Parnell" <derek at psych.ward> wrote in message 
> news:2m4gnylh4ggc.1hhjynllwweim.dlg at 40tude.net...
>> On Mon, 18 May 2009 19:24:13 -0400, bearophile wrote:
>>
>>> Christopher Wright:
>>>> The more common suggestion is:
>>>> alias bar = foo;
>>> This is acceptable, thank you :-)
>>> Now I'd like to know what others think about that.
>> But does that mean 'when I write "bar" I really mean "foo"' or visa versa?
>>
>> Just pointing out that the '=' sign doesn't really automatically make it
>> fully intuitive.
>>
> 
> It makes it consistent with "auto foo = bar;" which is a big improvement in 
> intuitiveness. 
> 
> 

I would also welcome this change. Like someone here already mentioned 
it's also consistent with renaming imports, which has the same syntax.

import io = std.stdio;


Chris



More information about the Digitalmars-d mailing list