Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Does anybody write tests first?

by doom (Deacon)
on Feb 23, 2008 at 04:03 UTC ( #669715=note: print w/replies, xml ) Need Help??

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

I've had the best luck with writing the synopsis first—the stuff that goes near the top of the POD.

Yes, I was going to say something like that. I don't always write tests first (writing them soon is good enough), but writing (some of) the documentation first is almost always helpful. I find it encourages me to simplify the interface: I get rid of unnecessary options because they're too much of a pain to write about.

But it sounds like the OP has not yet gotten in the habit of putting almost all of the code into modules, and that's really the first step toward sanity. For one thing, it makes it a lot easier to write fine-grained unit tests.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2019-10-16 05:30 GMT
Find Nodes?
    Voting Booth?