Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pyre
· 12y ago · 0 comments
Naming the anonymous functions, is actually suggested as good practice somewhere in the Angular.js docs. I came across that a couple of weeks ago.
Comments
[–]
whiskypeters
12y ago
Naming anonymous functions (and anonymous function expressions) provides useful context while tracing error stacks
[–]
pyre
OP
12y ago
This was exactly the reason it was suggested in the Angular.js docs.