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

> We scan the left side of the code when reading

Exactly. Sometimes you want the predicate muted so the consequence is highlighted. I agree that it seems counterintuitive, but I'm pretty sensitive to code flow and it works for me personally.



consequence is still on the left edge in my rewrites though, not sure why you'd want to mute control flow aside from reading it out loud.

Admittedly, you can still do some ugly one-liners in JS, the undertone of all my points though is that coffeescript's draw is the really beautiful, readable code, which leads to (at least for me) stuff that's harder to follow when I'm not writing it.




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

Search: