Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Does anybody write tests first?by educated_foo (Vicar) |
on Feb 22, 2008 at 14:36 UTC ( [id://669570]=note: print w/replies, xml ) | Need Help?? |
Not I. I write code until I see errors, debug to find those errors, and add internal consistency checks (asserts, etc.) to make sure they don't happen again. "Test first development" seems to me to be a blunt tool for people who don't understand their code, or even make a serious effort to do so.
On the other hand, you'll get serious XP on Perlmonks for saying you test first. EDIT: Thank you, downvoters, for making my point.
In Section
Seekers of Perl Wisdom
|
|