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

We use it exclusively for guard statements at the beginning of a function, and we keep it to a single statement per line

return unless token.present? return unless user.valid? return unless foo = get_foo(user)

Its extremely readable and easy to grok imo.



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

Search: