12
matanl
3y

I just wrote unit tests for like the first time in my life (didn't find it useful in university, someone else handing in the project always did that). It cut my coding time by a factor of 3! You should try this one if haven't already, it really saved me a lot of headache right now.

Comments
  • 2
    It saved you a lot of time right now. If you need to maintain that codebase, it'll save you even more time in the future!
  • 1
    The great thing about unit tests is that you can build your code from little pieces. Which you unit test and are sure are working. Then you assemble them into a larger piece. And just by virtue of logic, the larger piece works.
  • 0
    @nickhh BUT you still do integration tests because, by virtue of logic, nothing is scarier than when things just work
Add Comment