Thoughts about modules

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Sun Jul 2 12:49:00 PDT 2006


Kirk McDonald wrote:
> Bruno Medeiros wrote:
>> Kirk McDonald wrote:
>>
>>>
>>> While I'm proposing things, might I also propose
>>>
>>> static import x;
>>>
>>> to mean FQN import. (This would be the same as Sjoerd's proposed 
>>> "import $ : foo.bar;".) It has the advantage of looking more like D 
>>> code, I think. :-) The "as" keyword is also a good idea, as in
>>>
>>> static import x.y as z;
>>>
>>> -- 
>>> Kirk McDonald
>>
>>
>> I find that name crappy, there is nothing "static" about a FQN 
>> import... X-P
>>
> 
> What do you think of "final import" to mean FQN import?
> 

Actually, I don't agree that is best to recycle an existing keyword, I 
would prefer a new keyword (if the syntax were to be that way, but like 
I said in the OP to Derek, there many things to consider).

-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list