One of my colleagues who attended myrecent brownbag mentioned something about his experience as a TDD newbie the other day. He said that it took him about an hour to start liking the way the code turned out when you wrote a lot of unit tests for your code. And even better; the unit tests found a lot of bugs in the code. Or to quote my colleague: I was terrified when I saw how many bugs my code had. But now I trust my code and know it’s working as it should. To be honest I think he may have been cheating with his TDD and written most of his test afterwards but that’s just a detail. And what he really want to say is that he now knows the code does what he intended it to do. That is always nice because knowing is better than assuming.