Import improvement

Jacob Carlborg doob at me.com
Tue Oct 16 06:11:55 PDT 2012


On 2012-10-16 14:36, Sönke Ludwig wrote:

> But speaking of '_' (and I have to admit that I didn't look at that many
> projects) - I've never seen that in the wild. And (IMO) "import
> something._" also looks quite awkward and non-self-explanatory, much
> more than either "something.all", "something.*" or
> "something.something". Making it just into "import somthing;" with some
> compiler support would of course change the game.

"import something;", how would you know if it's a module or a package? I 
really would like to be able to use "import something.*" but the 
compiler doesn't support it, so .all/._ is the best we can do for now.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list