So CommonJS → ECMAScript Modules is an IPv6-level clusterfuck, then, eh?
@aral Pretty much, yeah. You can use ES modules in Node, but then a bunch of stuff stops working (like __dirname, automatically figuring out the .js file extension when you do `import './foo'`, synchronous `require()`, `require.resolve()`…). https://nodejs.medium.com/announcing-core-node-js-support-for-ecmascript-modules-c5d6dc29b663
I expect we'll still be living with CJS for at least the next five years
the parallel is all too real. we could all be better, make things ok.
but we won't. intransigent stuck slow forces will gripe & slow & pull & nag at us, suck energy, resist, fight, scream.
this time we won't even have the carriers to blame. it will be small little pockets of developers all over, insisting there are very good reasons why they will refuse to move forward.
a long time ago, there was a campaign to get node.js to move forward: #nodefwd. today we need a #jsforward. glad node is trying to bring some #harmony to the situation, but wow, there is a lot of baggage they are also trying to drag along too.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!