zlacker

[parent] [thread] 1 comments
1. theshr+(OP)[view] [source] 2025-06-03 10:35:15
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.

replies(1): >>godels+WY
2. godels+WY[view] [source] 2025-06-03 17:06:26
>>theshr+(OP)
No 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.

[go to top]