Hacker News new | ask | show | jobs
by bcanzanella 4215 days ago
So, they're going to change a few things around the build process and versioning? I wonder if there will be any plans to address core functionality, namely callbacks vs promises.
2 comments

Yeah. I'd love to see a node/npm fork that used es6 modules instead/as well as npm modules, and promises instead of callbacks throughout the api. Everything else the same, but something that will use the newer stuff that is becoming available a bit sooner than the node ecosystem will.
I assume language features remain the domain of the V8 engine, which is pulled in from Google.
The parent was referring to how, in the Node world, typically errors are the first argument of a callback function(err, value). Promises will be added to Node soon, but the question was whether they will change all of their APIs to use those instead of the current callback method.
precisely