Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Re: Unit Tests and Creative Tension

by demerphq (Chancellor)
on Sep 08, 2003 at 09:36 UTC ( [id://289727]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Unit Tests and Creative Tension
in thread Unit Tests and Creative Tension

Yesterday I reread your post and realized I had kinda missed the point. *blush* I have some pretty hairy design and code work coming up and I think before I write another line of code on that project (I am currently by lack of choice dealing with other matters) I will be putting together a full set of tests to experiement with TDD. It doesnt make sense to knock something you havent given a proper try of. And if the peace of mind you describe is a possible payoff then its definately worth the experiment.

Many thanks for yet another thought provoking node. (Even if it did take a while to sink in, im kind thick sometimes. :-)


---
demerphq

<Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

Replies are listed 'Best First'.
Re: Re: Re: Re: Unit Tests and Creative Tension
by pdcawley (Hermit) on Sep 19, 2003 at 08:12 UTC
    Remember TDD doesn't mean writing all the tests up front and then writing code. It means writing a test, making it pass, refactoring, writing another test, making it pass, refactoring... ad completum. Trying to code something given a complete set of tests up front is, frankly, far too hard, the trick is to keep adding functionality in piecemeal fashion.

    Apologies if I'm stating the obvious.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-03-19 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found