Thoughts about modules

Kirk McDonald kirklin.mcdonald at gmail.com
Sat Jul 1 10:53:26 PDT 2006


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?

-- 
Kirk McDonald
Pyd: Wrapping Python with D
http://dsource.org/projects/pyd/wiki



More information about the Digitalmars-d mailing list