Comment by nojvek
5 years ago
I like TDD when I’m mostly dealing with functional/library like code where I have a solid understanding of the interface/api.
Just put all the expected input/outputs in a big table test and iterate.
TDD is awful when you don’t have a clear idea about the interface and need to mock a whole bunch of internals that are likely to change.
No comments yet
Contribute on Hacker News ↗