Hacker News new | ask | show | jobs
by domenicd 3687 days ago
Yes, that's exactly correct. Babel, polyfills, etc. were all just guessing at the future.
2 comments

When TC39 creates ES modules, it's re-inventing the wheel ("The node community has already made modules that work, why'd you make a new one??").

When the Babel community creates a module loading approach, it's guessing at the future ("The spec is the law! When the community makes something, it's guessing at the law!").

I wouldn't say es6ml was "guessing", it was based on the old loader spec that was removed from ES2015, and was quite accurate. It's no longer relevant though, since whatwg/loader is quite different.