Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: When my script doesn't work, I ...

by dsheroh (Parson)
on Oct 02, 2012 at 10:12 UTC ( #996830=note: print w/ replies, xml ) Need Help??


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

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."


Comment on Re^3: When my script doesn't work, I ...
Re^4: When my script doesn't work, I ...
by talexb (Canon) on Oct 02, 2012 at 15:59 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996830]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-07-04 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls