Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I program the happy path then write tests and use them to help uncover edge cases.

This approach resonates with me as well. I would add that writing tests when investigating bugs or deviations from expected behavior is also useful.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: