DEV Community

Discussion on: How long after getting into development did you start writing tests first?

Collapse
 
albertywu profile image
Albert Wu

I agree with what Nick and miku86 wrote below. In addition, I think you'll find that writing tests will serve as a guide you towards writing better code as well :)

It forces you to think at a higher level with respect to the code, and make explicit the inputs and outputs of any functions you write. I've found that when my code is poorly written, it becomes almost impossible to write tests for.

Good luck!