Import concerns revisited
Derek Parnell
derek at nomail.afraid.org
Tue Jul 11 23:51:23 PDT 2006
On Wed, 12 Jul 2006 09:25:50 +0300, Georg Wrede wrote:
> Regan Heath wrote:
>>
>> import std.stdio as io;
>>
>> writefln(""); //error
>> io.writefln(""); //ok
>>
>> in that this syntax allows the compiler to _not_ import into the
>> 2ndary namespace and _instead_ into the named one, instead of doing
>> both, which is what appears does/will happen using 'alias'. I prefer this.
>
> Exactly!
>
> And this is *very important*.
Why?
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocrity!"
12/07/2006 4:50:47 PM
More information about the Digitalmars-d
mailing list