2006-08-17, 22:01 - ProgrammingAs a father of a four months old daughter I only have a few moment a day to sit down and do some programming.
Here TDD is really handy. It helps you to be quite productive even when you only have a few minutes to work at the time.
Hmmm...Got back to the computer. Aha! A red test...start/continue fixing it.
No red test? Lets write another one...
And when you cannot sit down for so many hours at the time you also cannot keep everything in mind. In that case it feels safe to have a bunch of unit tests to asure you you haven't broken anything.
The same thing TDD always is good for but more to the extreme!!