On 12/21/12, bearophile <bearophileh...@lycos.com> wrote: > Walter Bright: > >> another large source of irritation if unused imports are errors. > > In Go even unused variables are *errors* :-)
There was a long blost post somewhat recently (well, it might be from this year at least) where the author complained how the Go compiler likes to error on the most trivial things, and how it interrupts the workflow of the programmer. The link is somewhere on reddit. If I really want to get all the warnings I would want to have a special flag for these kinds of trivial things (which will probably never happen), but then again I might as well use another tool for it. Speaking of tools: you could fork DMD, add all the warnings you want in the front-end and provide a script for users that automatically git clones your repo and builds the custom DMD, which can then be used as a lint tool. That way you avoid having to create something from scratch, and avoid redistribution issues.