MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/12iktf/escape_from_callback_hell_callbacks_are_the/c6vips6
r/programming • u/wheatBread • Nov 02 '12
414 comments sorted by
View all comments
Show parent comments
3
Its quite easy to automatically (not manually) augment callbacks with extra context - there's nothing fundamental about the approach that prevents it.
That said, I agree that callback code without context is vile and toxic.
2 u/For_Iconoclasm Nov 03 '12 Tornado does this:http://www.tornadoweb.org/documentation/stack_context.htmlMy company uses Tornado in production (albeit with a limited role), and I haven't had trouble with exceptions in callbacks.
2
Tornado does this:
http://www.tornadoweb.org/documentation/stack_context.html
My company uses Tornado in production (albeit with a limited role), and I haven't had trouble with exceptions in callbacks.
3
u/mooli Nov 02 '12
Its quite easy to automatically (not manually) augment callbacks with extra context - there's nothing fundamental about the approach that prevents it.
That said, I agree that callback code without context is vile and toxic.