Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ricardobeat
on April 2, 2013
|
parent
|
context
|
favorite
| on:
Explicit vs. Clever
No need to go that far, CoffeeScript can do both:
totals = (order.total for order in orders) totals = orders.map (o) -> o.total
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: