|
|
|
|
|
by andrewmcwatters
1087 days ago
|
|
No, ESM spec writers are hurting productive developers. I literally never think about require or import, because they're not problems I have. But now, I get to fight importing dependencies with cancerous ESM design and think about language basics, while spec writers revert us all to CS 101 students trying to figure out how to do elementary things. Which isn't going to change any of my mature code, either, I'm going to wrap the entire script in: (async () => {
})();
and then: const { default: foo } = await import('bar');
So, has anything meaningful changed? No. I don't need to tree shake on the server, and if you're tree shaking on the client-side, you've already screwed up, and you're too inexperienced to realize it. |
|