Does this not basically say that javascript is still being used but people are opting to use transpiled siblings?
As far as I'm concerned we will still be adhering to all the core language constructs for the most adopted interpreter until a viable ancestor arrives.
> Does this not basically say that javascript is still being used but people are opting to use transpiled siblings?
It sounds like it. So in the grand scheme I guess JS is still growing, except that it's increasingly not written directly. While it's useful to look at TypeScript & Co. somewhat separately, it makes little sense to treat them as completely separate and conclude that JS is now shrinking.
The ancestor is called WebAssembly. It would be simply crazy to bet one's career on JS now. Pick a solid non-fringe functional language which compiles to LLVM. It will run in browser in 2-3 years.
I agree that javascript will be replaced in time, but that article in no way asserts that javascript is declining in favor of WebAssembly. WebAssembly shows promise, but it nowhere even near ready to begin mass adoption.
I have no issue with javascript fading away over time, that's just not what's happening right now.
I have a joking-but-kind-of-serious theory that javascript popularity peaks at about the same time as the market does: 2001 you had peak DHTML, 2008 you had peak Web 2.0, now we have the SPA-pocalypse.
My joking-but-kind-of-serious explanation is that there is a common cause: irrational optimism.
Looking at the numbers on a single repository website will give you lousy data. You can see the same thing on Github: it became popular with the Ruby community, so Ruby is one of the most popular languages there.
Open source websites are also problematic because they don't capture what a lot of businesses are doing (which is Java, the replacement for COBOL).
One problem with the TIOBE Index is that the data is tainted by all of yesterday's web pages that nobody's bothered to take down yet. If you look at Google Trends, for example, PowerShell has overtaken Perl in the last year or two. TIOBE is still looking at the big corpus of Perl stuff from the early 2000's, placing it at #8, and says PowerShell isn't even in the top 50.
At risk of sounding overly cynical, Java-orientated article from the editor of Java Magazine implies JavaScript's popularity will wane, making 2nd placed Java it's heir apparent?
Seems a slightly predictable suggestion, given the context.
That means the authors of those blog posts have made the mistake of conflating popularity with usefulness, but I don't think the problem necessarily extends to "most JS developers".
I feel like JavaScript is just kicking the revs up to high speed. ES2015 is a huge leap ahead for JavaScript and along with ReactJS actually makes programming web front ends real fun instead of a major pain and chore.
Just to put in to words what I expect many are thinking:
Javascript is a spec, thus the rise (and fall) of transpiled languages is more a testament inevitable and increasing utility of Javascript (you know, the result of a passionate tryst between Brendan Eich and Netscape, in which Sun looked on in the corner slowly smoking a ciggarette...).
ahem
I guess I can see the eventual end of Javascript-only everywhere. If a browser/device will run my coffeescript/dart as navtive, then suh-weet.
Anyway. I found it interesting how we interpret things differently. For instance, to my mind the rise of Java on Github was more enterprise cautiously leaving the their old-country (SVN) and following the hot-shit™ languages into cloud based git. Rather than a new flowering of the language.
Gratz to the Java team for adding some functional stuff. But is it just me or does this article have a HINT of: "Welp, we just killed Javascript - what will Java dominate next?"
33 comments
[ 3.9 ms ] story [ 83.7 ms ] threadAs far as I'm concerned we will still be adhering to all the core language constructs for the most adopted interpreter until a viable ancestor arrives.
people are switching to things like Dart, Coffeescript, and Typescript.
It sounds like it. So in the grand scheme I guess JS is still growing, except that it's increasingly not written directly. While it's useful to look at TypeScript & Co. somewhat separately, it makes little sense to treat them as completely separate and conclude that JS is now shrinking.
I have no issue with javascript fading away over time, that's just not what's happening right now.
My joking-but-kind-of-serious explanation is that there is a common cause: irrational optimism.
Any peak in popularity can not be found when you look at the actual numbers: http://githut.info
Open source websites are also problematic because they don't capture what a lot of businesses are doing (which is Java, the replacement for COBOL).
But lousy data is better than no data at all.
Seems a slightly predictable suggestion, given the context.
Shame.
Javascript is a spec, thus the rise (and fall) of transpiled languages is more a testament inevitable and increasing utility of Javascript (you know, the result of a passionate tryst between Brendan Eich and Netscape, in which Sun looked on in the corner slowly smoking a ciggarette...).
ahem
I guess I can see the eventual end of Javascript-only everywhere. If a browser/device will run my coffeescript/dart as navtive, then suh-weet.
Anyway. I found it interesting how we interpret things differently. For instance, to my mind the rise of Java on Github was more enterprise cautiously leaving the their old-country (SVN) and following the hot-shit™ languages into cloud based git. Rather than a new flowering of the language.
Gratz to the Java team for adding some functional stuff. But is it just me or does this article have a HINT of: "Welp, we just killed Javascript - what will Java dominate next?"
> You must have JavaScript enabled to view digital editions.
I see.