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

You mean to avoid passing named functions? The suggested alternative still passes a function. Although unnecessarily wrapping a named function in a lambda is bad code style (in most languages), it doesn’t seem that disastrous of a habit to get into.


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

Search: