3 ms·
My experience has been exactly the reverse. Promises have made async code much easier to read and understand. There is a little learning curve, but it's not so
by wging 10y ago
My experience has been exactly the reverse. Promises have made async code much easier to read and understand. There is a little learning curve, but it's not so bad.
- kevinmannix 10y agoTotally agree. There's a sense of satisfaction when refactoring legacy callback code to a simple promise chain. It's even better when the functions called in succession have names that read out concisely and clearly the behavior of the Promise chain as a whole
- uranian 10y agohaha, totally happy for you guys enjoying Promises, it apparently works for you and that's what counts. I also enjoy refactoring callback code, only without the use of Promises, because I don't prefer them to compose and create a nice readable flow. There is a little learning curve though, but it's not so bad.