Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Does anybody write tests first?

by educated_foo (Vicar)
on Feb 22, 2008 at 17:00 UTC ( #669606=note: print w/replies, xml ) Need Help??


in reply to Re^2: Does anybody write tests first?
in thread Does anybody write tests first?

I think about the problem and solution, trying to come up with its governing laws. Sometimes I write math and pseudocode in a notebook.

Replies are listed 'Best First'.
Re^4: Does anybody write tests first?
by amarquis (Curate) on Feb 22, 2008 at 17:56 UTC

    Sounds like how I approach a physics problem (physics is a domain where I've much more knowledge than programming): just think about the problem and constraints, and then "just do it."

    I think that you are right, that tests as a design tool are somewhat of a crutch for the inexperienced. But, as far as crutches go, they seem to be a pretty good one. The automated tests you create during design follow through and help you during development, and it gets you thinking about the module user's experience.

Log In?
Username:
Password:

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

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