Clay language

Adam Ruppe destructionator at gmail.com
Tue Dec 28 09:20:04 PST 2010


sybrandy wrote:
> Now, the nice thing about this is that you immediately see what
> module this function came from.

Yes, that's like a static import in D. You can also use fully qualified
names with a standard import:

std.stdio.File -- optional long form for File

static import std.stdio; // you *must* use the long form for all names


> However, the bad part is that you have more to type.

That's not the only bad part. It also means refactoring your modules
requires changes to the user code too. See my other post here:

http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=125420


More information about the Digitalmars-d mailing list