Hacker News new | past | comments | ask | show | jobs | submit login

The docs seem to state otherwise

   One instance of where this is handy is for 
   returning a 'sensible default' value if an 
   expression resolves to false or null
http://groovy.codehaus.org/Operators#Operators-ElvisOperator(?:)



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: