Making D Lang More easy.

Jonathan M Davis jmdavisProg at gmx.com
Wed May 11 17:16:16 PDT 2011


On 2011-05-11 16:32, Walter Bright wrote:
> On 5/11/2011 3:52 PM, Timon Gehr wrote:
> > I'd like to hear some of Walter's arguments on the matter.
> 
> Because such an error would be highly annoying when:
> 
> 1. you're using version/debug/staticif conditional compilation
> 
> 2. you're commenting out code when trying different things or searching for
> a bug
> 
> 3. you're using the "import all;" idiom
> 
> 
> Annoying programmers doesn't make them feel good about using D.
> 
> 
> D also has very solid protection against problems caused by importing
> multiple modules with conflicting names. This means that the likelihood of
> actual bugs being caused by unused imports is pretty much nil.

Out of curiosity, do you have any idea what kind of impact it has on 
compilation performance to import unused modules?

- Jonathan M Davis


More information about the Digitalmars-d mailing list