3 ms·
This! So many of the comments on this post are about writing tests, rather than writing tests first. I've tried TDD a couple of times and always hated it. Mayb
by nickm12 6y ago
This! So many of the comments on this post are about writing tests, rather than writing tests first. I've tried TDD a couple of times and always hated it.
Maybe it's one of those things where you have to get over the hump. But to me it's much more enjoyable to write what I think is the perfect function and then try to break it with my tests.
I also don't understand how anyone could think that a strong typesystem is a replacement for tests. It definitely helps one write a lot fewer tests for the same level of quality, but you still need tests.