Don't forget Kernighan and Pike... Looking for their quote on the topic, I came across this page, which immediately follows their quote by also adding Bob Martin to the list, with Bob having commented that "Using a debugger is a code smell." | [reply] [Watch: Dir/Any] |
I'm not nearly as bright as any of those guys, but I want to make sure there are no misunderstandings when it comes to what the code is doing. Tests are awesome, but sometimes running code in a debugger will reveal subtleties that a log message doesn't. Once the compiler's happy with the code (as well as lint (C) or perlcritic (Perl) and everything looks fine in the debugger, I'm happy.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
| [reply] [Watch: Dir/Any] [d/l] |