Hacker News new | past | comments | ask | show | jobs | submit login
Why Scala’s Option and Haskell’s Maybe types won’t save you from null (beust.com)
3 points by nirav on July 28, 2010 | hide | past | favorite | 1 comment



It appears that his primary assumption, NPE prevention, on Options is based on blogs rather than actual good quality code.

If you look at how Options are used in Scala core lib, you wouldn't make such claims and you will definitely not use it only for null checks.




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

Search: