http://qs321.pair.com?node_id=996774


in reply to Re: When my script doesn't work, I ...
in thread When my script doesn't work, I ...

I'm always surprised when I hear someone's never used the Perl debugger.
It seems the list of someone's (who dislike debuggers) includes: Larry Wall, merlyn, and Linus Torvalds. :)

  • Comment on Re^2: When my script doesn't work, I ...

Replies are listed 'Best First'.
Re^3: When my script doesn't work, I ...
by dsheroh (Monsignor) on Oct 02, 2012 at 10:12 UTC
    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."

      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