News for hackers. Stuff that matters.
Re:You might not need jQuery (2014) by names_are_hard on Thursday January 14, 2021 @06:17AM (#25775015)
If you dislike promises, what do you prefer? Callbacks? Why?
Re:You might not need jQuery (2014) by arp242 on Thursday January 14, 2021 @06:39AM (#25775188)
Because it's a lot clearer what gets run in what order.
Re:You might not need jQuery (2014) by spiralx on Thursday January 14, 2021 @07:04AM (#25775393)
How? It's about the same if you have one callback maybe, but as soon as you have a callback within a callback - or worse, want to do something involving the results of more than one callback - I just can't see it. What's the advantage of what's often referred to as "callback hell" for you?