Better HN
topnewbestaskshowjobs
Log inSign up

betterimposter

2 karma · joined Mar 4, 2013 (13y ago) · 1 submissions

Submissions

comment 13y ago · link · parent

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.