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

My favorite is the Maybe-monad-esque ? syntax. It lets you write expressions like this: obj.a?.b?.c?() which will execute normally if all those properties exist, but return null instead of failing if they don't.


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

Search: