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

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://669458]
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
Find Nodes?
    Voting Booth?