4 ms·
I think the driven part is bad. Using tests are fine, it should just not drive your development efforts.
by StreamBright 7y ago
I think the driven part is bad. Using tests are fine, it should just not drive your development efforts.
- gtirloni 7y agoSometimes you do have to make your code more "testable" on purpose though. But yeah, writing the tests first doesn't always work. YMMV.
- StreamBright 7y agoTrue. I just run into these situation too much because I functional style code where there is very little internal state and try to use pure functions as much as possible. This narrows down the code that has to be written on a more testable way.