News for hackers. Stuff that matters.
Re:CoffeeScript One Liners by rimantas on Thursday June 02, 2011 @06:59AM (#2611428)

  > We are doing applied CS here, don't we?
Yes. And CoffeScript prefers comprehensions over the maps. From the docs: > Comprehensions should be able to handle most places > where you otherwise would use a loop, each/forEach, > map, or select/filter

In this case I prefer that way also because it puts the main thing first.

There are no comments on this comment yet.