by camus · 13y ago · 0 comments
I agree 100%. But still, a lot of people are complaining about some of the Node.js API choices.
They are complaining because it makes programming more difficult , and the truth is , async programming is hard when it relies on callbacks.
I've never seen anyone argue that callbacks are one of the easier ways of doing async.
So yes, grandparent is correct.
I feel like promises don't need to be part of core though. It's easy enough to wrap the standard library in userland and just have other things depend on the wrappers.