re: TDD is Not for Me VIEW POST

FULL DISCUSSION
 

I have a quite good experience with TDD. Actually it helped me save tons of time. I love it mostly when I do fixes (I know exactly what should work, so it is easier to begin with tests, unit or feature).

However, I prefer API first for my new projects: I know I want to use my tool in a certain manner, with a specific syntax, chaining my method in a particular way. So I begin to write my methods, then I comment with the algorithm, and I go deeper and deeper until I need elementary methods (like checking if a key exists,...). Once I reach this point, I start unit testing those methods, and I continue...

So I agree with you, TDD is not the answer, and we teach it in a way that it prevents thinking the big picture.

 

However, I prefer API first for my new projects

Same.

code of conduct - report abuse