Why is the JavaScript ecosystem so confusing? I thought Python was bad. I'm just trying to run a model in the browser but now I have to deal with a half dozen ways of importing a file? Why isn't there a standard for how the language is supposed to work?
Discussion
html uses script tags to include code in the browser. that's it. outside of that was the "wild west" of js because, it wasn't supposed to run there. So, they did whatever they felt like. Then they couldn't agree and the "most popular" wins until the ecosystem argues with one another. it's a very dysfunctional "family". the only standard that came about was later, and that hasn't been 100% supported or implemented across the board yet, STILL.
This mostly makes sense. But it still seems crazy there been standardization over the last at least decade of running JavaScript everywhere. Python doesn’t even have a “standard” but CPython is popular enough that everyone else just copies them. JavaScript (sorry ECMAScript fuck you Oracle) has a standard for crying out loud and they still can’t get it together.
Browser developers are the issue there. Google, Microsoft, Apple, Mozilla, etc. They kind of try to agree but then don't and introduce their own ways in the "next version". Then it's back to the most popular wins game.