|
|
|
|
|
by spion
3744 days ago
|
|
Yes, uncompositionality of callbacks leads to callback hell. Or to reinventing every single thing but for callbacks. Like array.map (which works with promises) or array.forEach (also works with promises) or every single synchronous function (they all work when passed to promises). |
|
It seems you're defining callback hell as 'whatever promises solves' rather than it's common definition of over-nesting.