Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Callbacks considered a smell
(opens in new tab)
(adamghill.com)
7 points
adparadox
13y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
Rickasaurus
13y ago
More like a language smell. The best you're doing here is naming your callbacks. Take a look at F#'s async for a beautiful way of dealing with this.
j
/
k
navigate · click thread line to collapse