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

> Meh. I've think Option is just null with extra steps.

It is when you don't use it right. Although, you have the benefit of being explicit about it. Still, you're supposed to make your Option/Maybe type a monad and functor, so you can easily chain Option/Maybe-returning functions and transformations while hiding all the boilerplate null checks.



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

Search: