MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/4s4ul0/the_javascript_language_reboot_is_done/d570a4x/?context=3
r/javascript • u/velmu3k • Jul 10 '16
98 comments sorted by
View all comments
29
Callbacks obsolete? Seems premature to say so.
10 u/ihsw Jul 10 '16 I think it is.Callback hell is over, promises and async/await have won.I challenge you to find any new ES6/TypeScript projects that still use anonymous functions for asynchronous execution. 10 u/namesandfaces Jul 10 '16 I actually find callbacks very manageable with observable streams, just as easy as promises. Code ends up just as comprehensible. 3 u/[deleted] Jul 10 '16 I agree. I've never found major issue with callbacks.IMO, so many of the "problems" with JS are due to the vast majority of people who look at the community and apply fixes/patterns/designs without understand how it actually affects their code.
10
I think it is.
Callback hell is over, promises and async/await have won.
I challenge you to find any new ES6/TypeScript projects that still use anonymous functions for asynchronous execution.
10 u/namesandfaces Jul 10 '16 I actually find callbacks very manageable with observable streams, just as easy as promises. Code ends up just as comprehensible. 3 u/[deleted] Jul 10 '16 I agree. I've never found major issue with callbacks.IMO, so many of the "problems" with JS are due to the vast majority of people who look at the community and apply fixes/patterns/designs without understand how it actually affects their code.
I actually find callbacks very manageable with observable streams, just as easy as promises. Code ends up just as comprehensible.
3 u/[deleted] Jul 10 '16 I agree. I've never found major issue with callbacks.IMO, so many of the "problems" with JS are due to the vast majority of people who look at the community and apply fixes/patterns/designs without understand how it actually affects their code.
3
I agree. I've never found major issue with callbacks.
IMO, so many of the "problems" with JS are due to the vast majority of people who look at the community and apply fixes/patterns/designs without understand how it actually affects their code.
29
u/[deleted] Jul 10 '16
Callbacks obsolete? Seems premature to say so.