3 ms·
But now you have the tests to be able to refactor the implementation and improve it. I’ve been in too many projects where devs almost never write tests. They c
by rmetzler 4y ago
But now you have the tests to be able to refactor the implementation and improve it.
I’ve been in too many projects where devs almost never write tests. They cut corners by neither writing tests nor documentation because of time pressure. Then the code breaks in production with simple edge cases like NullPointerException and they need to fix it, so they don’t have time to write unit tests for the next feature. And it’s definitely harder to write tests after you implemented something.