fyeahcode
Unit tests

If you were asking me about THE one thing I’d suggest to every programmer, it’s this: Write unit tests.

Everybody knows they should, but many still don’t. Just do it. Learn the framework for your language, it’s worth it. Not only does it help you save possibly many hours of painful debugging in the long term, it also makes you rethink how you structured your code, rethink what it should be doing in the first place.

So go ahead. Pick some project, and create some tests for it. Or do it with the next project ahead. It feels good having something that works reliably, and even better being able to prove that it does.