DEV Community

Discussion on: The Outrageous Cost of Skipping TDD

Collapse
 
kalpeshbdarji profile image
Kalpesh Darji • Edited

Exactly, time-to-fix-bug is less because, in TDD, we should never write more production code than it is necessary to pass the currently failing unit test. This has profound implications. We don't have to think about the whole implementation upfront. We let the tests guide us.