Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Retra
on June 25, 2015
|
parent
|
context
|
favorite
| on:
The Unix Philosophy
Well, if you need multiple lines, you probably don't need your function to be anonymous. (Your example is just `sum`...)
jimmaswell
on June 26, 2015
[–]
I've needed it many times in the past where the function I'm assigning can't be done as a one-liner like that.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: