5 ms·
"JavaScript is the most important programming language in the world." Either that statement is false, in which case the JS community really is that insular and
by bitwize 8y ago
"JavaScript is the most important programming language in the world."
Either that statement is false, in which case the JS community really is that insular and arrogant -- or it's true, which is probably even worse.
Either way, this assertion scares me.
- amasad 8y agoYes, it's a quite bubble unfortunately. I'm a JavaScript programmer (for the most part) and most JS devs are dumbfounded (!!) when I tell them about how Python is probably more popular than JS [1][2]. [1]: https://spectrum.ieee.org/at-work/innovation/the-2018-top-programming-languages https://spectrum.ieee.org/at-work/innovation/the-2018-top-pr... [2]: https://www.economist.com/graphic-detail/2018/07/26/python-is-becoming-the-worlds-most-popular-coding-language https://www.economist.com/graphic-detail/2018/07/26/python-i...
- nebulous1 8y agoThese are flawed methods of ascertaining relative language popularity, mostly relying on inaccurate searches of google and social media. I honestly don't think they're worth anything.
- irrational 8y agoHow do you define popularity? Nearly every web page in the world is running JavaScript. Surely there are more JS developers than Python developers. Or does popularity in this case mean what it meant in high school?
- hajile 8y agoPopularity can be measured many ways. IEEE is way more insular than the JS community. IEEE members are much more likely to be dealing with lower-level code and/or statistical analysis. JS isn't low-level and doesn't have a very good statistical analysis suite. In contrast, with Python, you use numpy with C/C++ to do most of your work in that area. Are there more people writing that kind of code or more people wiring together consumer-facing stuff? Obviously the latter. Likewise, the number of people searching for "Javascript" is meaningless for several reasons. There are loads of searches that would use other names like "JS" or "React" or "HTML File API" that should count, but don't and aren't easily added to that metric. In addition, there isn't much need to google for JS itself. The best sources to learn JS are free and once you find them, you don't need to continue searching. JS is a much simpler language with a smaller builtin library than Java, so even a junior dev with a few months of experience will do far less googling about the language than a similar junior Java dev. In addition, the Java dev will be googling "Java X builtin" while the JS dev will be googling "Lodash X" instead. Search result aren't great resources for that kind of analysis. It's not an illusion that JS is popular. Applescript moving to JS. VBscript moving to JS. Qt, GTK, and others baking in first-class support for JS (complete with JS engines). Duktape, Jerryscript, or XS7 in the microcontroller and embedded scripting space. Even things like PDF have JS baked into them. Then there's web-apps, react-native apps, electron, node, etc. If you look at the computers in someone's house, there's a very good chance they don't have Python anywhere. There's even a decent chance that they don't have Java installed (and an even better one that they have Java from years ago if they do). You won't find even one of them that doesn't have JS being used every day. If that's not popularity, I don't know what could be.
- lonalzarus 8y agoI know it's fashionable and popular to hate on JS. No matter what your objections are, if you are frightened of it, you should be scared. It's running in almost any modern device you own, and a decent chunk of services serving those devices. Even everybody decides to switch to WASM/Go/Python and leave JS in the dust, it'll still zombie on for a good long time. See: PHP.
- LaGrange 8y ago> I know it's fashionable and popular to hate on JS. I've been in the industry for almost 20 years now. I do not remember a time when it wasn't popular to hate JS. If it's a fashion, it's a fashion that literally crossed millennia.
- crimsonalucard 8y agoIt was always hated from my experience. It was a flawed language designed in 3 days. There's more people who love it now then before. It's mostly from beginners who learn it at bootcamp as their first/only language.
- lostcolony 8y agoI know Java, Erlang, C/C++, Ruby, Python, Javascript, have dabbled in Scala, Haskell, PHP, Perl, and Racket. Of these, Javascript was actually the last I learned and used professionally. I like Javascript. I hate DOM manipulations in the browser, and browser based differences, but Node on the backend is generally a pleasure to work with, and far, -far- better than most of the languages and ecosystems I've had to deal with. I prefer Erlang (well, and Elixir) for larger projects with complex concurrency/distribution/fault tolerance requirements. Yes, Javascript was always hated. It certainly has some WTF elements to it that deserve some hatred. But for a straightforward, easy to learn, get things done language that doesn't lead to a lot of bloat, doesn't force you to be concerned with things you shouldn't have to be concerned with, etc, it's actually pretty solid, and I suspect a lot of the hatred has to do with the argh of the browser, in which no language will help you.
- aikah 8y agoUsing Javascript is getting a bit better thanks to the latest ECMA spec. We finally have a universal module system which is designed to work both on the server and on the client.A package manager that takes advantage of ES modules is needed though, so not NPM. Second, static analysis tools like Typescript compiler or Flow can help greatly with typing with little setup or configuration needed. For instance I use Typescript compiler with js files directly in VSCode. Finally linters can help avoid common mistakes. The experience is certainly better than 10 years ago thanks to all the new tools and specs at the developer's disposal.
- crimsonalucard 8y ago"better" is a drastically different statement than "the most important programming language in the world."
- ficklepickle 8y agoIt was firmly tongue-in-cheek. I assume he was being lighthearted and fun. He seemed a pretty funny guy and a good presenter.
- GijsjanB 8y agoIt's false, because "most important" is unqaulafiable. In the browser it is most definitely the most important language, but in other areas most definitely not. Disclaimer, I like TypeScript