|
|
|
|
|
by pestaa
5175 days ago
|
|
Fully agreed. The syntactic sugar saves lots of time in total, and there are few bonuses like for own key, value in hash
that also checks `hash.hasOwnProperty(key)`, which is good practice in JavaScript, but really boring to type in almost all `for` statements.I also observed that using longer, more descriptive variable and function names, the difference between Coffee and compiled JS is definitely not an issue in debugging sessions. I'd say there is not a context switch even. It feels like thinking in JavaScript and writing in a new dialect. |
|
Use _.each, you're done. Pleasure.