Hacker News new | ask | show | jobs
by billmcneale 5685 days ago
It's not the fastest way, by far. It tends to lead to more testable code, sure, but it's not fast.

For example, TDD encourages code churn: you write tests for a lot of throwaway code.

Personally, it usually takes me two/three attempts before I'm satisfied with the version of the code that I have. Writing tests for these throwaway attempts is a waste of time.

As you become more experienced in writing tests and testable code, you realize that you no longer need TDD to write code that can be easily tested, so I see TDD more as "training wheels" for beginners.