coding practices: include whole module or only the needed function

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 7 12:53:25 PDT 2014


On Tue, 07 Oct 2014 19:38:52 +0000
monarch_dodra via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:

> On Tuesday, 7 October 2014 at 17:29:45 UTC, ketmar via 
> Digitalmars-d-learn wrote:
> > On Tue, 07 Oct 2014 17:24:40 +0000
> > bachmeier via Digitalmars-d-learn 
> > <digitalmars-d-learn at puremagic.com>
> > wrote:
> >
> >> On Tuesday, 7 October 2014 at 08:37:59 UTC, monarch_dodra 
> >> wrote:
> >> > As a general rule, avoid imports in global scope anyways.
> >> Can you expand or provide a link to the issue?
> > ahem...
> > https://issues.dlang.org/show_bug.cgi?id=313
> > https://issues.dlang.org/show_bug.cgi?id=314
> 
> That's only relative to having selective imports.
ah, i see. sorry, i misread the question.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141007/6d482543/attachment.sig>


More information about the Digitalmars-d-learn mailing list