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

It isn't really about the advantages of anonymous functions over named functions but rather closures (first-class functions) over anonymous functions.

Here is a good explanation: http://stackoverflow.com/questions/220658/what-is-the-differ...



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

Search: