I love TDD. Not because I write a lot of tests, but, because it helps my mind reason about proper composition and develop modular and clean APIs.
Using it as a design principle creates better software and you get a nice bonus -- regression testing for your assumptions.
It also serves as one vector of documentation -- though it's not the best.
I love TDD. Not because I write a lot of tests, but, because it helps my mind reason about proper composition and develop modular and clean APIs.
Using it as a design principle creates better software and you get a nice bonus -- regression testing for your assumptions.
It also serves as one vector of documentation -- though it's not the best.