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

Doing Rails for half a year now and usually are pretty good at mental models.

I always have to stop at an unless because the double-negative is really hard to evaluate in the mind IMHO.

IMHO unless leads to unnecessary nesting. In your example, it reads like _most_ people are ruby dev. I try to keep the most-often excecuted flow as flat as possible (happy path) and just try to nest for additional/special cases. Unless just tries to do... different.



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

Search: