[Issue 3819] [module system] Tiding up the imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 18 11:59:22 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3819


BCS <shro8822 at vandals.uidaho.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shro8822 at vandals.uidaho.edu


--- Comment #1 from BCS <shro8822 at vandals.uidaho.edu> 2010-02-18 11:59:21 PST ---
I think this would be bad idea and vote that it be closed.

---

Rational:

There already exist way to use import where the fully qualified name is still
needed (IIRC static imports) so that covers the one case.

There already exists a way to use import to a selected subset of symbols from a
module.

The most common case is the "import everything" case.

With the modification, in the normal case, it becomes impossible to, in the
same module, use fully qualified names and to not use them.

---

I don't see any advantage to it (either in functionality, consistency,
conciseness or anything else I care about). Unless I'm missing something, I
think the proposal would detract from the language.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list