Hacker News new | past | comments | ask | show | jobs | submit login

When we use lambdas, don't we usual end up assigning them to variables? In those cases, your point about naming will still hold!



Lambdas are assigned to function arguments/parameters. Pretty sure assigning a lambda to a variable is an anti-pattern.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: