3 ms·
If you dislike promises, what do you prefer? Callbacks? Why?
by names_are_hard 6y ago
If you dislike promises, what do you prefer? Callbacks? Why?
- arp242 6y agoBecause it's a lot clearer what gets run in what order.
- spiralx 6y agoHow? 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?