[Issue 3503] New: [module] Imports should be static by default
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 13 16:19:16 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3503
Summary: [module] Imports should be static by default
Product: D
Version: future
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: llucax at gmail.com
--- Comment #0 from Leandro Lucarella <llucax at gmail.com> 2009-11-13 16:19:15 PST ---
Importing all symbols of a module in the current namespace is usually a bad
idea (except for very small things or scripting-like programs).
The semantics of:
import foo;
should be replaced by:
static import foo;
--
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