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

Optionals are a better alternative to null. They compose better (i.e., they nest) and play nicely with data abstraction (i.e., you can define an abstract type that hides the fact that its underlying representation is optional), unlike null.


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

Search: