Keeping imports clean

q66 quaker66 at gmail.com
Sun Apr 1 15:22:39 PDT 2012


On Sunday, 1 April 2012 at 22:13:00 UTC, Guillaume Chatelet wrote:
> In C++ it clearly matters to have very clean dependencies to 
> keep compilation time as low as possible ( Google even built a 
> tool to check unused #include - 
> http://code.google.com/p/include-what-you-use ).
>
> So I was telling to myself it would be great to have the D 
> compiler report about unused import because it might already 
> have all the necessary information. But maybe such a tool 
> already exists ? Or maybe this is simply irrelevant ?

in c++ it's text expansion, D imports are symbolic; it's not by 
far as relevant


More information about the Digitalmars-d mailing list