News for hackers. Stuff that matters.
Re:The Big TDD Misunderstanding by minimeme on Sunday November 19, 2023 @05:59AM (#38331460)
How do you refactor code, if you have a poor test coverage? Also for me actually the most importan benefit is the instant feedback I get, when I write the unit tests before the implemenation. I can move faster with more confidents.
Re:The Big TDD Misunderstanding by usrusr on Sunday November 19, 2023 @07:30AM (#38332054)
Probably by working in an environment where that confidence is conveniently provided by static type analysis. If the parts are sufficiently reshaped to fit together again you just know that it will work. And chances are that feedback is an order or two of magnitude more instantaneous.