Posts

Showing posts from July, 2025

Write the Tests

Image
GPT generated image yeah Code without tests is already broken. tests make sure you're good to go, give you confidence, and save you a lot of time. many developers think writing tests is a waste of time, but i'd say " they’re wrong ". Ive worked on different projects. I always had a good time working on tested code bases, and obviously a bad hard time with ones that had no tests. It's just not easy task to work on existing code that has no tests (unit, integration or e2e). you can’t predict what your changes will affect. sometimes, removing a single line breaks something completely unrelated and unexpected. That’s why writing tests is really important. It’s not just about making sure your code runs fine, tests also help make your code cleaner and more readable. Good tests mean you’ve covered most of your logic, so if you change or remove something random (even if it looks unused), the tests will catch it. from my experience, working on a project with no tes...