3 ms·
This is true only insofar as libraries use promises, and your code uses promises. They're still pretty annoying in my experience. There are still some other ca
by matthewmacleod 9y ago
This is true only insofar as libraries use promises, and your code uses promises. They're still pretty annoying in my experience.
There are still some other cases where the mess of brackets is overkill, other than callback hell.
- udp 9y ago> This is true only insofar as libraries use promises, and your code uses promises. They're still pretty annoying in my experience. Promisify, or (as I prefer to) just "return new Promise((resolve, reject) => { nonPromisedStuff(...) })"? > There are still some other cases where the mess of brackets is overkill, other than callback hell. Like bad coding style?