How about Go's... error on unused imports?
Walter Bright
newshound1 at digitalmars.com
Thu Nov 12 19:35:07 PST 2009
Andrei Alexandrescu wrote:
> I think this is an environment issue. I like Eclipse's approach. Java
> unnecessary imports are underlined with a wavy red line.
I agree. I would find it very annoying to have to remove unused imports
to get it to compiler. First off, I tend to have "all" imports that
import everything. Secondly, what if I version out some code, wouldn't
want to version the import too.
More information about the Digitalmars-d
mailing list