Hacker News new | ask | show | jobs
by panthomakos 5468 days ago
I think you make good points. The reason I used these simple examples was only for simplicity and to illustrate that named function callbacks can be used within closures rather than littering your global space with function declarations. More complex examples would probably have taken away from the core point of the article.
1 comments

It's understandable you wanted simple examples, I just worry beginners will take it literally and name every callback.