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

Doesn't Coffeescript 'solve' this problem? (quotes because of the coffeescript vs javascript debate)

The binding of this is solved with => (fat arrow), and the returning value is resolved with the fact that both the inner function and outer function will return their result (I think? :\) and thus the refactoring is essentially equivalent to the ruby version?

Anyone else read this as "Ruby guy wants javascript to be more like ruby." ?

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact