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

Writing bad code that doesn’t handle errors and doesn’t correctly model your actual runtime invariants doesn’t simplify anything other than the amount of thought you have to put into writing the code — because you’re writing broken code.

The solution to this problem wasn’t restarting the failing process. It was correctly modeling the failure case, so that then the type system forced you to correctly handle it.



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

Search: