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

Exactly. You can still get errors due to things not being there. But your assumptions are explicitly stated.

You see None => raise Error, and a little alarm goes off in your head, and you look around for a reassurance that we really want to do that.

In contrast, you don't give x.toUpperCase() a second glance.



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

Search: