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

And if the code (or "method" -- I need to get my OOOrthodoxy checked) isn't called when you use the program, it probably doesn't matter. If you're writing code you don't use, you've got a more serious problem.

Replies are listed 'Best First'.
Re^4: Does anybody write tests first?
by amarquis (Curate) on Feb 22, 2008 at 16:45 UTC
    If code isn't called when you routinely use the program, you won't initially find the bug. When the rare case or corner case occurs, though, it'll be a pain in the rear to track that bug down.
Re^4: Does anybody write tests first?
by cLive ;-) (Prior) on Feb 22, 2008 at 18:46 UTC
    Let's just hope you never have to write a script that does X on weekdays or Y on the weekend, but Z if the date is February 29th ;-)