From: Alistair Y. <ali...@sm...> - 2005-05-12 14:42:40
|
compilers? pah! wouldn't trust 'em - back in the days when I compiled cod= e the compiler would say "zero errors, zero warnings" - then it'd come back from the test dept full of bugs! compilers? don't listen to 'em ;) Alistair --=20 Alistair Young Senior Software Engineer UHI@Sabhal M=F2r Ostaig Isle of Skye Scotland >> From: Alexis O'Connor >> an...@sm... wrote: >> > Is there a tool that rips out imports/variables that aren't >> > referenced?! > > I believe the most appropriate tool is the Mk.I developer, as it > typically has to make value judgements on surrounding code as well. > >> The compiler can be configured to give >> warnings regarding unused variables. > > ... and possibly should be configured as such by default. We saw a > decrease in defects introduced during maintenance in a legacy C++ > project when we turned on all the warnings in the compiler and spent th= e > effort in clearing up the existing warnings. Unfortunately we were too > naive to measure the decrease, so I can't tell you any numbers :-(. > > - Peter > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_ids93&alloc_id=16281&op=3Dclick > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |