News for hackers. Stuff that matters.
Re:Testing is waste of time, I know that my code works by petercooper on Saturday December 25, 2010 @05:37AM (#2038776)
I used to be in the test-hater club but it's saved my bacon and made my life a lot easier since I've gotten over my pride and sucked it up.

I'm writing quite a few libraries lately and doing refactoring as I go. Having a nice stockpile of tests built up along the way means that if I make some changes, I can know within seconds whether I inadvertently broke anything. This makes me braver when it comes to adding new features or reworking algorithms I've already written and "know" work.

Even if you're doing highly exploratory work or if you suck at testing, even bad or cursory tests can raise the oddest of bugs. I've seen it first hand and it's what convinced me to really get into the practice. If even bad tests could save my bacon, imagine what I could do with better ones..

There are no comments on this comment yet.