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

Except that lots of errors are already known, and get repeated anyhow. Saying that we can't guard against unforeseen errors is not quite the point.

Errors we already know about are known because they are common. Preventing those errors is a net win, regardless of whether unforeseen errors will occur.



> Except that lots of errors are already known, and get repeated anyhow. Saying that we can't guard against unforeseen errors is not quite the point.

I'm with you. It's just that the article IMHO makes automated tests seem like a cure for every bug (future or present) in the world.

I also agree that it makes sense to try and avoid known errors. And that automated tests are often a great tool for achieving this.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: