Re:TDD Is Not An Algorithm Generator
by mattvanhorn on Thursday December 19, 2013 @12:29PM
(#6936149)
If "the design in your head" involves classes or functions, or any programming language dependent ideas, then it you are not doing TDD. I call this style test-first, or pseudo TDD.
But if the design in your head is an algorithm that can be expressed in natural language, then TDD will let you take that and make a loosely coupled, maintainable program out of it.
Good post on the difference here: http://cumulative-hypotheses.org/2011/08/30/tdd-as-if-you-me...
What it usefully replaces is bikeshedding. It lets you try out the design you have in your head, in bite size pieces.