2 ms·
Yea, but the write-up failed to mention a few of the other advantages, most notably, comprehensions. Every time I do a for, map, filter, etc. in js, I wish I wa
by betterimposter 14y ago
Yea, but the write-up failed to mention a few of the other advantages, most notably, comprehensions. Every time I do a for, map, filter, etc. in js, I wish I was writing coffee. Having said that, if the verbosity of array ops aren't a sticking point, then I say don't bother. I'd probably be just fine with js if I'd never typed
dog.praise() for dog in dogs when dog.type is 'pet'
I have gotten into the habit of singing these, so its probably just an oddity I have. Carry on and ignore.
- michaelwww 14y agoTo each his own. I quite happy with C-like languages with braces for blocks.