Import proposals (Ideas)

Andrei Khropov andkhropov at nospam_mtu-net.ru
Mon Jul 10 02:24:53 PDT 2006


Regan Heath wrote:

> Part-E
> import this.is.the.lib as this.is.the.lib;

I don't like this syntax. Retyping the same things twice is not a good idea.
It's syntactic overhead.

FQN import is common and it should be simple, so previous proposals like
"static import" and "fqnimport" seem more appealing to me (though I would
personally prefer "using" keyword).


-- 
AKhropov



More information about the Digitalmars-d mailing list