News for hackers. Stuff that matters.
Re:Ask YC: Does anybody enjoy unit testing their code? by pierrefar on Thursday June 12, 2008 @05:57AM (#215798)
I find that by building a test, I get to know what the code is doing and why better than any other way. It's a great learning experience.

Also, while thinking and building about a test, I think of simplifications and new features to add. Why? It's because technically, a test actually uses the code. If you and your code are friends, prepare to become lovers.

There are no comments on this comment yet.