Hacker News new | past | comments | ask | show | jobs | submit login

> if your code is already correct, you don’t need the unit test

This is a hot take. I'm 100% not onboard with.




Correct. Unit tests are not only for the current version of the code, but also to prevent regressions in future versions of the same code.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: