Nick Sabalausky schrieb:
"Derek Parnell" <de...@psych.ward> wrote in message news:2m4gnylh4ggc.1hhjynllwweim....@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

Reply via email to