Keeping imports clean

Guillaume Chatelet chatelet.guillaume at gmail.com
Sun Apr 1 15:12:57 PDT 2012


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 ?


More information about the Digitalmars-d mailing list