Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can name anonymous functions so your transformations can still have a domain related name associated with it, even if you're using standard library ones.


If you’re making a local anonymous function that you call in one place, just so that a generic function gets a more domain specific name, then you might as well just assign the result to a named variable, right? It’s the same benefit with less indirection.




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

Search: