r/programming • u/qaops • Sep 11 '19
This video shows the most popular programming languages on Stack Overflow since September 2008
140
Sep 11 '19
Obviously VB programmers are the best - they don't need to ask questions on Stack Overflow.
44
Sep 11 '19
I remember grade 10 programming class in 2001. We went from Qbasic to VB to learn some new concepts. Our high school teacher explicitly warned us not to get too involved with VB as nobody really used it.
Fast forward almost 20 years and this software architect can confirm he hasn't written a line of it while being in industry.
22
u/FierceDeity_ Sep 12 '19
I... did. Went into a company, they take out a biiig VB.net web app from the depths of hell. I say I can do VB.
Now they always come to me because I'm their only guy who can do VB.
Job security, I guess. Either I am going to make a well paid job out of this or flee, I don't know which yet.
15
u/Mustrum_R Sep 12 '19
I had an 'opportunity' to work with a legacy VB.NET software. I have to say that it is actually a pretty decent language. Mostly because the .NET part (it has almost everything that C# has, just with a weird syntax).
That being said it seems to be a rule that VB only programmers have to write the most confusing, shitty, fucked up, 1000 lines method containing sorry excuse of a code. Jesus Christ, why do we even try to maintain that? We need to nuke it from the orbit and start from the scratch, along with the whole civilization.
→ More replies (2)→ More replies (9)4
u/Franks2000inchTV Sep 12 '19
Tons of people in finance use it for scripting excel macros. But not sure if that counts.
3
u/ambigious_meh Sep 11 '19
Qbasic in high school, qbasic and basic , COBOL in college, VB for Windows 3,4,5,6 and VB.NET until 2005, C# / ASP.NET until 2016, VB was so good, but SOOOOO bad.
6
Sep 12 '19
tbh, I don't think VB (.NET) deserves all the bad press it gets. It is more than adequate for small projects, which means it's quite adequate for for just about any SME business, amongst other things. It got me going in my career, and sustained me in house and home for years. If it allows bad practice, that's still up to the practioner - it doesn't demand you be bad at your job. I do feel much of the hate that gets thrown at it is a kind of snobbery. Horses for courses, and all that.
830
u/wpfone2 Sep 11 '19
Most popular, or the languages people need the most help with?
328
u/marcosdumay Sep 11 '19
And languages with the most helpful SO users.
Compound those 3.
91
Sep 11 '19
Yeah... my experience with getting C help way back was a lecture that I should listen to compiler warnings.
This was on IRC, though
58
u/anengineerandacat Sep 11 '19
16~ years ago; when I first started coding, was for a MUD (14 at the time) and I definitely remember posting snippets and trying to work with folks way more senior than myself to try and solve certain problems.
As much as people dislike SO today; I really appreciate it being around compared to what I had to go through in the past during my learning phase because information was locked behind registration forms etc. and today it's generally just wide open and heavily indexed.
→ More replies (1)6
Sep 12 '19
Sort of like the guy who asked a question about matching HTML tags with regular expressions and got a lecture about not parsing HTML with regular expressions?
10
u/i8beef Sep 11 '19
Its interesting that Github stats line up a little though too: https://www.benfrederickson.com/ranking-programming-languages-by-github-users/
7
u/amakai Sep 11 '19
Would be inreresting to see statistics of "percentage of questions with accepted answers" per language. Might be a good metric for quality of community.
→ More replies (3)0
Sep 11 '19
[deleted]
5
u/matholio Sep 12 '19
Same started with perl, and ended up using PHP. Not for web stuff, just for some scripting in linux. Perl folk were not at all helpful, and seem to think their code is magical.
41
u/duckfighter Sep 11 '19
The languages with the most not yet previously asked questions. Could explain why c# drops so much over time. Not many new questions left to ask.
→ More replies (4)151
u/Adrewmc Sep 11 '19
I would assume they are close to the same thing. The more popular the language the more people that would run into problems.
And how do we define the most popular? The most currently being used? The most currently being made? The most number of programmers? The most number of users? The shear number of coding lines made? Etc.
69
Sep 11 '19
Just FYI, You 'shear' a sheep, the word you were looking for is 'sheer'
14
u/Kwantuum Sep 11 '19
Always reminds me that "shear stress" and "sheer stress" are very different things
→ More replies (4)→ More replies (2)22
u/Dunge Sep 11 '19
But as a Canadian I'm certainly not looking forward to Scheer.
... ok I'll show myself out.
→ More replies (1)11
u/K1ng_K0ng Sep 11 '19
well if you working with .Net and Visual Studio theres a lot of questions you dont need to ask because the IDE takes care of it
→ More replies (3)30
Sep 11 '19
I would assume they are close to the same thing.
I wouldn't. I'd imagine it's a combination of popularity, size of language feature set and difficulty of language.
→ More replies (30)→ More replies (6)3
u/Mooks79 Sep 11 '19
Nobody knows. (SO does do a yearly dev survey, but even that only looks at devs, not more general use). The point is not that this is definitely wrong, it’s that the title is misleading, bordering on dishonest. Just title the post what it actually is and let the readers/viewers make their own interpretation.
11
u/RexStardust Sep 11 '19
The languages Cognizant salespeople told their clients their diploma mill devs had five years' experience in.
6
Sep 11 '19
C# was so easy even I was able to learn it. I'm guess it correlates to popular more than hard to use or broken (well I cant explain PHP fully).
4
u/matthieum Sep 11 '19
There may also be an onboarding effect: the language you learn programming with will require you to ask more actions. Cue Python.
→ More replies (23)5
u/FearTheDice Sep 11 '19
Notice how pho is near the top as well as JavaScript
We know the awnser
/s but not really
12
110
u/Zaneris Sep 11 '19
I think a far better metric would be for stack overflow to publish how many page views questions for each language receive.
64
106
u/vordrax Sep 11 '19
Well of course C# is a lot lower now, Jon Skeet has already answered literally every question about C# that could be thought of.
14
u/kmana123 Sep 12 '19
Lol I was thinking the exact same thing. Half of the time you can answer a C# question with a link to a Jon Skeet answer. Mans a god.
79
u/cheesepuff57 Sep 11 '19
Python slithering it’s way to the top
61
u/mauvm Sep 11 '19
Probably because of machine learning.
12
u/alexzoin Sep 12 '19
I think it also has to do with it's relatively simple syntax. I've found (in my limited experience) it's the quickest language to teach an absolute beginner.
8
u/Uberhipster Sep 13 '19
but that has always been the case
the latest surge in popularity is correlated and most likely due to a similar surge in popularity of ML and neural networks
7
u/nilamo Sep 12 '19
But mostly just in the past year? What was that jump all about?
Before that happened, I was ready to make a Java(script)? joke about how it kept growing out of control, but then my boy Python stole the thunder.
14
→ More replies (4)7
503
Sep 11 '19
Animated bar charts are an anti-pattern. Use a line chart!!
29
u/sim642 Sep 11 '19
Or a stacked area chart where things add up to a constant 100%.
→ More replies (2)4
u/Mooks79 Sep 11 '19
One of the few acceptable uses of a stacked bar chart (I normally loathe them).
27
Sep 11 '19
But how else would it get voted to the top of /r/dataisbeautiful?
5
u/KyleG Sep 11 '19
Is this really voted up in that sub? I don't go to it, but to be fair I do see some godawful charts that get crossposted there sometimes.
11
Sep 11 '19
Yes, that sub really don't understand data visualisation:
→ More replies (3)42
10
Sep 11 '19
Yes, 10+ different lines with, different colors all intersecting at different points and making it nigh impossible to read. You must be a C++ programmer
→ More replies (19)2
u/Rafa998 Sep 12 '19
Since this is reddit I'm not sure if people joined your joke, or they really not got it...
I hate stackoverflow comments, just answer the question, I'm not there for CS lectures. A real job, with real deadlines, requires dirty solutions sometimes...
30
42
u/toterra Sep 11 '19
If anything this chart demonstrates the truth of Atwood's Law (Jeff Atwood co-founded Stack Overflow).
″Any application that can be written in JavaScript will eventually be written in JavaScript″
26
194
u/mr-ron Sep 11 '19
Posts like this are rough. I always feel like this ignores frameworks, like jquery, rails django. Lots of searches / posts just use those framework names without referring to python, ruby, etc.
Id like to know if this data is taking in account those framework names or not.
163
Sep 11 '19
+1 Additionally, Stack Overflow is a resource to get answers about confusing language behavior and bad APIs. It's a good place to sort out bad documentation. It's not an honor to be the top language on Stack Overflow. Github might be a better measure.
107
u/epoplive Sep 11 '19
Not to mention as a language gets older and many of the questions have already been answered you can expect the number of new questions for that language to go down. Comparing number of new questions isn’t really a good metric for comparing ‘popularity’, they would probably need access to analytics data to see visits to existing questions by language.
→ More replies (13)67
u/plastikmissile Sep 11 '19
Yeah I have a sneaking suspicion that this explains the sudden drop in C#'s popularity in the chart. From its inception SO has been known as the go-to place for C# answers, giving rise to such legendary posters like Jon Skeet. So googling C# questions will almost always lead you to an existing post in SO, and fewer and fewer new C# questions were being asked.
→ More replies (7)27
u/K3wp Sep 11 '19
It's not an honor to be the top language on Stack Overflow.
I was just going to mention something to that effect. Most of the content there seems to be from rank amateurs asking fairly trivial questions.
If anything it does seem to track programming 'fads' pretty well, vs. what actual productive engineers are using. All the open source projects I contribute to are C/C++/Rust/golang.
Github might be a better measure.
Oh absolutely. Whenever I hear someone whinging about C++, I point out that their browser/OS was written in it (or something closely related), as is the JavaVM. And literally every single AAA gaming engine. So it must be good for something I think?
→ More replies (5)14
u/remtard_remmington Sep 11 '19
The StackOverflow devloper survey is pretty good, and the 2018 one puts JavaScript way ahead of other languages in terms of actual use. Plus Java is second, then Python. The video probably reflects the number of people learning Python anew (because data science etc.) rather than the number of people actually using it.
6
u/LambdaLambo Sep 11 '19
Yup. I've never asked a question, but have viewed hundreds if not thousands of existing ones.
6
u/RemysBoyToy Sep 11 '19
Also depends on how much documentation is out there I guess. C# for example has a great selection of books, resources online etc. So dont necessarily need as much help. Cant comment on java/javascript/python as I dont develop in them languages yet.
→ More replies (7)3
u/eidetic0 Sep 11 '19
And I doubt that C# in this graph includes questions on Unity, because 'unity3d' is it's own stack overflow tag. So is '.net' and 'mono' actually... I wonder if they're included.
20
17
u/Tinyhousetruckpdx Sep 11 '19
Is it sad that I cheered for ruby?
9
13
u/omenmedia Sep 11 '19
JavaScript has the PHP colour and PHP has the usual JavaScript colour. My disappointment is immeasurable, and my day is ruined.
19
u/nosoupforyou Sep 11 '19
It's actually counting new questions. It really doesn't say much about the popularity of the languages itself though.
It's just that in 2008, C# had more new questions than any other language. Later Javascript did.
And they were new unique, as you're not supposed to add duplicates.
It makes sense that any language that adds tons of new features or packs like javascript does with react and other things would give it a bump for "popularity".
At the same time, an unpopular language wouldn't get very many questions.
→ More replies (1)
40
Sep 11 '19
I'm pretty sad that Java outdid C# over time, but I guess it makes sense since a .NET stack isn't exactly universal. C# is way more fun to use.
21
u/BilBal82 Sep 11 '19
I thought c# was gaining traction rather then losing to Java. Because it used to be java was enterprise king but Microsoft was slowly getting more market share, no?
11
u/ThrowThatAssByke Sep 11 '19
Here in Atlanta .NET stacks have a stronghold and its doesn't look like that will change anytime soon.
→ More replies (1)14
u/valadian Sep 11 '19
.net stack is effectively universal now that .net core is leading the way forward.
→ More replies (1)7
u/camerontbelt Sep 11 '19
I think they’ll get back up there with the changes they’re making to .net and .net core over the next year or two. I’m super excited for blazor as well.
8
Sep 11 '19
Blazor sounds pretty sick, with how bloated Javascript frameworks are getting it's going to be important to turn to WebAssembly.
→ More replies (4)16
u/remtard_remmington Sep 11 '19
Given the time period, I think it's Android causing that. I suspect .net is increasingly chosen over Java for other platforms.
→ More replies (1)8
u/Mithent Sep 11 '19
Feels like C# was probably overrepresented on StackOverflow in its early days - the founders were based primarily in the .NET ecosystem so it would make sense that it gained traction there first, and at least some of the trend would be StackOverflow spreading rather than a surge in Java over a previously-dominant C#. Android is probably a factor as well. (Although I agree with you about C# vs Java, regardless.)
→ More replies (19)4
u/Saiing Sep 11 '19
It's a travesty that it was overtaken by Javascript and even fucking PHP for a time. It's by far the best designed of the top 5 language for most of that timeline.
I mean, fucking javascript... as an industry we should hang our heads in shame that it wasn't strangled at birth.
→ More replies (2)
8
u/snorkleboy Sep 11 '19 edited Sep 12 '19
Keep in mind this is actually in number of questions on stack overflow rather than actual usage popularity.
8
6
43
u/pet_vaginal Sep 11 '19
This kind of data visualization is such a waste of time, and not being able to see all the years on one picture is annoying.
→ More replies (1)17
5
u/ConsistentBit8 Sep 11 '19
Silly video, everyone knows C# stopped getting any questions because Chuck Norris Jon Skeet answered them all
21
u/cbleslie Sep 11 '19 edited Sep 12 '25
rustic gold grandiose simplistic start sand whistle pause chief distinct
This post was mass deleted and anonymized with Redact
17
u/Jugad Sep 11 '19
The only languages not getting people into trouble are the ones not being used.
→ More replies (1)
7
13
10
8
Sep 11 '19
java will always live in my heart..
→ More replies (1)17
3
u/Kayshin Sep 11 '19
There is a difference between most popular and the one people ask most questions about tho. Causality and correlation. It might as well be the languages people understand the least because they are so poorly used. That's just another interpretation of this.
6
u/stronghup Sep 11 '19
Good point. The report could have been labeled "The most difficult to use programming languages" :-)
3
3
3
3
u/nayhel89 Sep 12 '19
Jon Skeet just answered all possible questions about C# on Stack Overflow, so there's nothing left to ask.
3
u/Kissaki0 Sep 12 '19
Obviously Perl is not in the list because it is so intuitive nobody has questions on it. 🤡
2
5
u/itsdargan Sep 11 '19
The most amazing thing to me is whats NOT on the graph. There must be so many languages that make up a fraction of a percent
→ More replies (13)
4
2
u/mentha_piperita Sep 11 '19
If you put the date in its current size but at the top, it would be a lot easier to follow both the top languages and the time.
2
2
Sep 11 '19
javascript go boosted because of NodeJS and the front end rendering framework like vuejs and stuff. It took nodejs a few years and it took off with lots of hype.
java got boosted because of android imo.
I'm surprise how well R is doing.
2
2
2
2
u/unexpectedgentleman Sep 12 '19
That php and Java is like a relationship sex. First top then bot, then you just switch back and forth or let it be until one of the two is tired.
2
u/porcelain_robots Sep 12 '19
In 2013 I told my colleagues that Python is going to be big in the future. They didn't believe me.
2
u/Iamgroot1234567 Sep 12 '19
It felt like i was cheering for python to win the race at the end. It took longer than i thought it was going to take.
2
2
u/MyWayWithWords Sep 12 '19
2008-2014: "Just use jQuery"
2014-2018: "Stop using jQuery"
also 2014-2018: "How the hell am I supposed to do this thing without jQuery?"
2
2
5
4
2
Sep 11 '19
I don't think this is a good measure of popularity or overall use in the cs world. It seems like it's more a measure of "how many people are having problems with this language?" and "how many new developers are using this language?".
2
2
1
u/mcfg Sep 11 '19
Is it possible I wonder to track how many page views each language gets? I find whenever I need to know something it's already on the site, but a real metric of popularity of the language would be how many people are using the existing resources vs how many unanswered questions there are.
1
u/Diskographi Sep 11 '19
I think it’s all the popular frameworks in use that make JavaScript and Python questions abundant.
2
u/boginw Sep 11 '19
You mean: This video shows the most popular programming languages on Stack Overflow by the number of questions answered by Jon Skeet?
1
1
1
1
1
u/Leachpunk Sep 11 '19
Is this data based purely on how the questions are tagged, or is other analysis being undertaken here?
1
u/Auuxilary Sep 11 '19
So if I want to start programming again, what would have the greatest usage with good knowledge?
1
u/Masterworks_All Sep 11 '19
Does this correlate at all with projected value of learning a specific language for a career?
1
u/ranisalt Sep 11 '19
I can never follow these videos, I always lose track of the bar I was looking at and have to watch multiple times.
Funny how Python grows slowly and steadily.
1
u/Silversleights04 Sep 11 '19
DAE watch this and feel like they were watching a horse race? I could hear the announcer calling the close finish...
1
Sep 11 '19
JavaScript increases its popularity significantly with the arrival of Node and its different frameworks which I find very interesting seems to be a trend that came to stay.
1
Sep 11 '19 edited Sep 29 '19
The real question is: What language did they use to created this graphic? Or did they animate it by hand?
1
1
1
1
u/CrazyDave2345 Sep 11 '19
Stack Overflow was written in C#, so naturally it attracted a lot of C# programmers initially.
1
u/lagerdalek Sep 11 '19
Well this comment thread should be full of objective commentary without any religious flame wars
1
1
1
1
1
Sep 12 '19 edited Sep 12 '19
Anyone else getting sick of these “top X programming languages” charts? Like, the language choice is really dependent on use case and all the top languages have use cases... regardless of whether they’re the most talked about on stack overflow or most used in college projects or whatever
→ More replies (4)
1
u/ChestBras Sep 12 '19
This shows which languages people have the most problems with.
My interpretation is that, around 5% ish is for a language used normally, in enterprises. More than this is when it become part of school curriculum.
1
u/buyurgan Sep 12 '19
This chart is laughable as if you think it shows any real value of usage of the language. Because there is no golang here.
Google and many more cloud services are using golang in their backend very heavily.
1
Sep 12 '19
I’ve started learning an extensive amount of R as a side hobby and I’m glad to see that it’s becoming a bit more popular.
1
1
Sep 12 '19
If you want to program in the most popular language, learn Javascript. If you want to create the most popular programs, learn C++.
1
1
u/BrownBoyWitaBagg Sep 12 '19
so if someone were to start learning a language, in terms of it helping me with future jobs, JavaScript would be the best place to start? or would that be false
→ More replies (5)
1
1
Sep 12 '19
Nice animation, but you should change the color of the labels (white on yellow is not readable) . Maybe you could use the color of the background.
1
1
1
1
1
u/hmorr5 Sep 12 '19
I would love to see a comparison of this and what languages are being taught. Are the different languages getting used more, or taught less?
1
1
1
u/cip43r Sep 12 '19
Supprised that c++ is so low, how do you not get segfaults!?!?
2
u/alien_at_work Sep 12 '19
This chart is kind of a meeting point between "need answers on how to use this" and "popular enough for someone to run into issues". I think C++ probably doesn't get many new users anymore and the existing ones already know the answers to those kinds of questions.
1
1
1
u/pau1rw Sep 12 '19
So this shows the most popular languages beginners are learning?
→ More replies (2)
1
1
1
1
u/gamepopper Sep 12 '19
The chart is titled "Most Popular Programming Languages" but because it's based on StackOverflow I get the assumption the chart should read "Programming Languages coders struggled the most with"
1
Sep 12 '19
The use of c and c++ gradually decreased because it pissed graduation students so they are on payback.LOL!
1
u/przemo_li Sep 12 '19
Is noise stripped down?
SO have basic community based moderation tools. Are duplicates stripped?
Can we have duplicates counted against non-duplicates. Hypothesis being that duplicates are consequence of sheer ammount of seekers of answers.
1
u/max0x7ba Sep 12 '19
Just make it a line chart. These moving bar chart videos are inconvenient for anything practical.
1
1
1
u/gorkish Sep 12 '19
SO is a question/tech support site.
It is one thing to say that this chart is related to popularity, but to me the actual thing it measures the popularity in relation to the competence or experience of the developer base for that language. This is part of the reason that C is basically nonexistent on the chart and also the reason that languages like C#, Python and JS have such wild swings -- they are likely related to the popularity of these languages in education curriculums and among novice programmers.
Also for some languages, SO just isn't a popular site for questions.
1
1
u/ColinEberhardt Sep 13 '19
If we have any D3 fans here, I've re-created this chart, for a bit of fun, using D3 / D3FC: https://bl.ocks.org/ColinEberhardt/2d9168600094e50ac379838f7cebc183/83b71df25265ebd36be098c4c247458d24220b6f
1
1
1.6k
u/BenjiSponge Sep 11 '19
I like how Java questions go up towards the middle and ends of semesters and then drastically drop at the ends of them.