Re:Avoiding Nested Callbacks in JavaScript
by panthomakos on Thursday June 30, 2011 @01:45PM
(#2715012)
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.
[ Parent
| on HN ]
Re:Avoiding Nested Callbacks in JavaScript
by tlrobinson on Thursday June 30, 2011 @01:48PM
(#2715020)
It's understandable you wanted simple examples, I just worry beginners will take it literally and name every callback.