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

I have found out that unit testing is great if you use it sparingly, that is only use it on public methods of public API. So, if I write server-side software, I unit-test only facade methods that are invoked by clients. And I always run the tests before committing new version, which is a pretty good safeguard.

It has saved me some headaches - especially when software grows in size and you simply cannot predict what impact even a simple change can have.

Anyway, I wanted to say that I agree with most of what you said :-)



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: