3 ms·
Tests pretty much. Not a silver bullet for everything, but works for many cases. Unless you're a 0.1% coder, your mental call graph can't handle every corner c
by theshrike79 1y ago
Tests pretty much. Not a silver bullet for everything, but works for many cases.
Unless you're a 0.1% coder, your mental call graph can't handle every corner case perfectly anyway, so you need tests too.
- godelski 1y agoNo one is saying you shouldn't write tests. But we are saying TDD is dumb. Actually, for exactly the reasons you mention: I'm not dumb enough to believe I'm a genius. I'll always miss something. So I can't rely on my tests to ensure correctness. It takes deeper thought and careful design.