"Global" imports vs scoped imports
Jonathan M Davis
jmdavisProg at gmx.com
Mon Feb 10 14:29:15 PST 2014
On Monday, February 10, 2014 12:21:20 Dicebot wrote:
> I was speaking about _both_ scoped and selective imports.
Well, personally, I'd _never_ use a scoped selective import. At that point,
you have the whole function body in front of you, so it should be obvious what
was being used from the module being imported, and the selective import
doesn't add much besides extra keystrokes. But then again, I've never really
been a fan of selective imports in the first place. With selective imports,
you're essentially importing individual symbols rather than modules, which
makes dealing with them that much more tedious. But to each their own.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list