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.
Don’t call my callback too early
Don’t call my callback too late
Don’t call my callback too few times
Don’t call my callback too many times
Make sure to provide my callback with any necessary state/parameters
Make sure to notify me if my callback fails in some way
Oh my god, these apply to every function call in my application! Promises are the hammers to all the nails!
29
u/[deleted] Jul 10 '16
Callbacks obsolete? Seems premature to say so.