3 ms·
I understand that some parts of the Node.js API does not use promises. I'm saying that promises are ubiquitous in Node.js codebases. The original comment said
by dimgl 3y ago
I understand that some parts of the Node.js API does not use promises. I'm saying that promises are ubiquitous in Node.js codebases.
The original comment said that promises are "not really" used in Node.js codebases. This is blatantly false. Most, if not all Node.js codebases I've worked with all use promises. And if they still use callbacks... you better believe I'm moving them to promises :)
Promises are not hard at all. I'm surprised there's such a pushback. I've been using async/await since like 2018.
- austin-cheney 3y agoThat is not what the original comment said. The original comment said: Not really. Most of the Node API is still reliant upon callbacks and the frontend absolutely doesn’t care.