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

Re: Does anybody write tests first?

by Your Mother (Bishop)
on Feb 22, 2008 at 03:56 UTC ( #669458=note: print w/replies, xml ) Need Help??


in reply to Does anybody write tests first?

I've done it a few times. It takes a lot of self-discipline but it is very rewarding. Besides having the tests going forward to maintain code health, the mere act of writing tests tends to expose use cases, UI, and design issues you weren't considering or were coming from bad assumptions. It appears to take more time up front but the time it saves in focusing you on "fixing" the tests with new code and not refactoring things you finished as a half-baked prototype can be immense.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2019-10-14 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?