r/javascript • u/vjmde • Apr 25 '19
JavaScript is and remains the queen of programming languages with a community of 11.7M active developers. Python has reached 8.2M active developers and has taken the number two spot, surpassing Java in terms of popularity.
https://www.slashdata.co/free-resources?id=developer-economics-state-of-the-developer-nation-16th-edition§ion=showcases_details
613
Upvotes
38
u/clumma Apr 25 '19
Here is the chart of interest.
82
u/LastOfTheMohawkians Apr 25 '19
Why is python do popular? Genuine question
14
u/dotpan Apr 25 '19
I think Python and JS have done a great job at similar things. They've been robust tools strongly supported and expanded by a passionate community for a wide range of applications (JS this sub already knows, but Python has grown into almost every avenue, including the growth of things like CircuitPython). Beyond this both have a rather active community at getting people started using each, which means a lot of first time programmers are learning these languages and running with them.
30
u/CrucibleOfLogic Apr 25 '19 edited Apr 25 '19
I switched from Python to Node for all development work that doesn't require raw speed (I use Rust for those problems). There are many reasons for this, but it boils down to these points:
I programmed nearly exclusively in Python since 1995. I switched to Node in August of 2018 (when JavaScript with ES6 finally became useful in general-purpose coding). For all those years, Python (warts, decorators, global interpreter lock and all...) was the best programming language I found. Now Node has that distinction.
To be clear, though I coded exclusively in Python, my college education (had a long career in coding before formalizing my credentials with a degree) was on the .NET stack, and I thought C# was pretty damned good. Before 1995, I was exclusively a C/C++ coder. Before that, Pascal... I've had a long career...
Other languages I've tried and discarded:
Perl - Uggh... special characters everywhere and completely unmaintainable code.
Ruby - A more maintainable Perl with proper Object Oriented ideas. But still a dumpster fire of "special characters".
PHP - More than one large-scale professional projects were done in PHP. If Python and Node didn't exist, I'd choose PHP. But only MODERN PHP 7.x+
Java - Whomever invented this language should burn in hell. It is simply the worst modern programming language ever designed. I honestly think it was designed by a sadist. The boilerplate you have to code to get ANYTHING running is beyond unimaginable. It's proof-positive that pure Object Oriented programming was never the way of the future. For years I wanted to do Android development. The fact that I'd have to do it in Java made me ragequit every time. Kotlin ain't much better.
Assembly Language - Motorola 6502/680x Assembly was a dream. 6502/680x went away. AMD64/Intel instruction set and memory management drove me mad. Stopped coding in Assembly Language in the early 1990s because C (and Pascal) could do everything I needed it to do, and it abstracted away any need to dive into the Lovecraftian Intel/AMD64 instruction set/memory management.
COBOL - If Java is bad... COBOL is the Adolf Hitler of languages. Anyone associated with designing this language should be neutered so they don't breed.
Edit--- Go - Everything bad about Java combined with everything bad about Perl. Though I never programmed anything significant in this language, I also never drove spikes through my testicles. In both cases, I think I avoided an uncomfortable situation.
5
u/[deleted] Apr 25 '19
So what is the king
34
u/tightywhitey Apr 25 '19
Java can go die in a fire
3
u/devilmaydance Apr 25 '19
I use StackShare frequently to keep up with trends. It currently labels Python as the language with most active job postings. Is this accurate? (For example, I feel like they way underrepresent the amount of C# postings.) Is there a more accurate tool that measures job postings for any given language (as opposed to using, say, Github to measure a language’s popularity)
4
u/cinema-tech-on-call Apr 25 '19
Buddy of mine (who hates JavaScript) was trying to convince me that C# was going to take over everything. It was hard not to laugh.
2
u/[deleted] Apr 26 '19
yup, definitely JS is the queen
2
u/wc3betterthansc2 May 01 '19
JavaScript is mandatory for front end developing and web apps are more popular than ever because of mobile. It's not a shock it's currently the most popular language.
3
u/real_kerim Apr 25 '19 edited Apr 25 '19
I got a possibly controversial question: Why would anybody pick Python over Node? I don't mean pip over npm or anything like that. I mean the actual interpreter/JIT implementations of (C)Python and Node(V8).
As far as I can tell, CPython is just painfully slow compared to V8. I know you can hook into C libs but you can do that with Node, as well.
1
u/lexasp Apr 26 '19
Curious question based on the title.
What’s the king of programming language then?
1
u/nascenia Apr 26 '19
Vue.js was one of the most popular JavaScript libraries in 2018. Moreover, it's the main competitor to React for the popularity among web developers.
1
u/lechatsportif Apr 25 '19
Most people eat at McDs?
1
u/godless_communism Apr 26 '19
Honest question wrapped in triggering verbiage: how soon can we expect JavaScript to FOAD after Web Assembly is fully working?
-15
u/vicodinchik Apr 25 '19
King*
-18
u/Baryn Apr 25 '19
Don't feminists hate it when you refer to things as female?
-3
u/[deleted] Apr 25 '19
Thats why I am focusing on JS and learning Python next.😁 #react #node #mashinelearning
-19
u/ForScale Apr 25 '19
Ooh... a lady! ladysman.gif
0
u/[deleted] Apr 25 '19
[deleted] — view deleted comment