News for hackers. Stuff that matters.
Re:Coverage is not strongly correlated with test suite effec... by regularfry on Tuesday September 28, 2021 @11:12AM (#28683748)
> I often write code without implementing anything, just the "surface API". That's when I find whether things will work or not.

There's an entire school of TDD which works this way. That's not incompatible at all.

> with TDD, I would've spent hours trying to get something working that later I would find, by exploration, that I didn't need at all.

If you're writing tests for something you don't need, the problem isn't with TDD as I understand it.

There are no comments on this comment yet.