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

Either allows you to do things like map, flatMap, getOrDefault, etc., whereas exceptions can only be handled via try/catch blocks.


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

Search: