"Global" imports vs scoped imports
Jeremy DeHaan
dehaan.jeremiah at gmail.com
Sun Feb 9 11:12:19 PST 2014
I am working on a library, and I put all imports at the top of my
source files under the module declaration. I was starting to
think that it might be a good idea to start scoping some imports
to reduce the number that might be used by a giving project, but
how beneficial is this? Are there any kind of general rules for
when to use module level imports vs scoped imports?
Thanks!
Jeremy
More information about the Digitalmars-d-learn
mailing list