News for hackers. Stuff that matters.
Re:The Big TDD Misunderstanding by ozim on Sunday November 19, 2023 @05:43AM (#38331355)
For me it is LARPing, people pretending that code they write is so complicated and so important they need 100% test coverage and nuclear reactor will melt down somewhere if they don’t do their job on the highest level.

I write testable code without TDD and if something breaks we write test to cover that case so it doesn’t happen again.

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.
Re:The Big TDD Misunderstanding by UK-AL on Sunday November 19, 2023 @07:10PM (#38340193)
A lot of software is business processes I.E Money.

You don't want money and ledgers going out of sync. That can be serious.