IOW, JavaScript is going to be great next year. Just like it was going to have been each year for the past 10 years or so.
IOW, JavaScript is going to be great next year. Just like it was going to have been each year for the past 10 years or so.
There is definitely a lot of churn, but slowly but surely you are seeing certain functional programming approaches winning out.
And the language is progressing so much faster than similar dynamic languages like Python.
Because it was a haphazard design.
A lot of the progress is just Javascript catching up to thoughtfully designed languages like Python. That's a good and necessary thing, but the fact remains.
It's long past 'catching up'. It's a healthy ecosystem.
Javascript is definitely making great progress, but npm thrown in as an example of how it's "long past catching up?" That's like, bare-minimum required functionality.
I'm not trying to attack, but when JS evangelists cite something like npm as a zap-pow feature, skeptics roll their eyes - especially when they've been using pip/rubygems/cpan for a decade or two.
Edit: I realize now you were probably citing npm more as evidence of JS having arrived with a healthy ecosystem (true) than as evidence it's leapfrogged others.
IOW, JavaScript is going to be great next year. Just like it was going to have been each year for the past 10 years or so.
ES6 might actually be ok, in the sense of "about as good as Python 2.3".
Well, ES6 wasn't available "the past 10 years or so", whereas it will be next year, and recent 6-to-5 transpilers make it a backwards compatible option too.
>ES6 might actually be ok, in the sense of "about as good as Python 2.3".
Well, it's more ubiquitus that Python, more dynamic, more modern (if you include ES6 features), tied to a more powerful environment (the web), and beats the shit out of Python regarding execution speed.
None of these things are features of the language itself (except arguably "more modern", whatever that means). They're all byproducts of the fact that JS is the only language that runs in a browser. JavaScript has basically succeeded dramatically in spite of itself by piggybacking on the runaway success of the web/browsers.
So? The end result is the same, Javascript has these attributes and Python doesn't.
- builtin type literal
- closures and fp idioms
- generators
- asynchrony
- comprehensionsMozilla is basically cultish about JavaScript's place as the One True Web Language.