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

I dont panic nearly as much as you it seems!

Handling Errors causes us developers so confusion, because we are so used to exceptions and how poorly they were conceived.

Errors should be called Failures. It's just when a function fails to so what it says it does. Nothing more, nothing special about it!

If you call fopen() and it doesn't find the file, that's a Failure! No reason to panic! Just go create the file!



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

Search: