Re:Testers vs. TDD
by greencar on Thursday June 25, 2020 @06:48PM
(#23646654)
> The biggest benefit of TDD is that it removes the fear of breaking your code.
This isn't true at all. TDD forces you to write unit testable code, which will have lower cyclomatic complexity, looser coupling, and generally be easier to maintain.
Writing tests second always leads to a suite that is more expensive to maintain than provided value.
And unit tests suck for catching bugs anyway, it's really about writing better code up front, which will have lower bugs and higher confidence by definition
This isn't true at all. TDD forces you to write unit testable code, which will have lower cyclomatic complexity, looser coupling, and generally be easier to maintain.
Writing tests second always leads to a suite that is more expensive to maintain than provided value.
And unit tests suck for catching bugs anyway, it's really about writing better code up front, which will have lower bugs and higher confidence by definition