Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Suspending Disbelief While Debugging

by gjb (Vicar)
on Dec 09, 2002 at 08:27 UTC ( [id://218472]=note: print w/replies, xml ) Need Help??


in reply to Suspending Disbelief While Debugging

I find that writing tests before writing the code to be tested helps to catch a lot of dumb mistakes. Also, writing a test for the obvious seems like a waste of time, but it may help preserve sanity in case of an acute attack of stupidity.

It also helps to consider refactoring the code (there's always something smelly) since it forces one to rethink the code. It ties in with the Extreme Programming paradigma which represents some nice ideas.

Just my 2 cents, -gjb-

  • Comment on Re: Suspending Disbelief While Debugging

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found