Python Beats Java Again in New GitHub Annual Report (github.com) 54
This week the Microsoft-owned code repository site GitHub released its annual report with statistics about its community, writes programming columnist Mike Melanson:
The report offers a deep dive into three specific areas, with a look at developer productivity in the time of COVID, community and collaboration, and open source security. Highlights include increased productivity with 35% more repositories created in 2020 than 2019, a large open source community with more than 56M developers in 2020 with 100M expected by 2025, and security vulnerabilities that often go undetected for more than 4 years before being disclosed and 94% of projects relying on open source components.
"2020 has been a year of extraordinary change," notes GitHub's report. "Yet with 60M+ new repositories created this past year, one thing has remained true — developers came together from all corners of the world to innovate, find connection, and solve problems."
GitHub reports that over 1.9 billion contributions were added in the last year, with users distributed around the globe:
And while JavaScript is still the most popular language used on the site, Python remains more popular (at #2) than Java (at #3) for the second year in a row.
"2020 has been a year of extraordinary change," notes GitHub's report. "Yet with 60M+ new repositories created this past year, one thing has remained true — developers came together from all corners of the world to innovate, find connection, and solve problems."
GitHub reports that over 1.9 billion contributions were added in the last year, with users distributed around the globe:
North America: | 34% |
Asia: | 30.7% |
Europe: | 26.8% |
South America: | 4.9% |
Africa: | 2% |
Oceania: | 1.7% |
- JavaScript
- Python
- Java
- TypeScript
- C#
- PHP
- C++
- C
- Shell
- Ruby
Sure... (Score:5, Insightful)
The numbers are rigged (Score:3, Funny)
Re: (Score:1)
> Riggers!
That's our word!
Re: Sure... (Score:3)
And a lot of the languages are written in C and/or C++.
But popularity doesn't say anything about code quality, maintainability or dependencies on third party modules impacting reliability.
Re: (Score:3, Insightful)
popularity doesn't say anything about code quality, maintainability or dependencies on third party modules impacting reliability.
This.
I'd say the opposite - that languages that mostly appeal to beginners aren't going to be the best languages in the long term.
And ... JavaScript is at the top because there's no choice.
Re: (Score:2)
What are some of those language features that makes a language "appeal to beginners"? And what metrics are you using to determine what are the "best languages in the long term"?
Java is pretty maintainable and reliable, despite tons of new programmers using it, while x86 assembly is the exact opposite in both respects.
Re: (Score:2)
Java is pretty maintainable and reliable, despite tons of new programmers using it
Does Java appeal to people?
Re: (Score:2)
And ... JavaScript is at the top because there's no choice.
There is:
* TypeScript
* CoffeeScript
* grooscript
And surely plenty more.
Re: (Score:1, Troll)
And a lot of the languages are written in C and/or C++.
But popularity doesn't say anything about code quality, maintainability or dependencies on third party modules impacting reliability.
Indeed. Python is a whole new level of dependency hell.
Re: (Score:2)
It does not really matter in which language another language is written. Sooner or later they use their own language to reimplement the compiler/interpreter and runtime.
SO logic (Score:1, Insightful)
Re: (Score:3)
Re: (Score:3)
And even more stupid people mod it insightful.
Re: (Score:2)
Mod parent up.
Much more plausible than fixing the moderation system.
Yes, yes (Score:4, Insightful)
Lots of kids are being taught Python and posting their scripts on GitHub. We get it.
Re: (Score:2)
Where in this story are you getting the age of the committers from?
Re: Yes, yes (Score:2)
Old programmers do Cobol, C or Fortran.
Re: Yes, yes (Score:1)
I'm doing Haskell.
Some people evolve. Others stay being stuck.
Re: (Score:2)
That's a blunt statement presented as fact. Do you have actual evidence?
Re: (Score:2)
Today I do mostly php, python (back end Linux servers) along with swift/xcode(macOS, iOS) 5+ years as an Apple Developer doing in-house apps for clients.
Lately, I have been playing with c and c++ again and taking a good look at web assembly. I will also be taking a good look at Android development.
I stopped doing any Microsoft development work in the early 2000s
Re: (Score:2)
Re: (Score:3)
Re: Yes, yes (Score:2)
I just have a splinter ridden abacus and carve output into my skin with dull flint you insensitive clod!
Re: (Score:2)
Are you sure?
Re: (Score:2)
Absolutely - if you see it as a joke.
Re: (Score:2)
As an aging programmer you basically have the option of doing the things you've always done and hoping the market doesn't pass you by, working in a field with legacy code no one understands or cares to maintain, move on to management, or continue to learn new languages and technologies and adjust with the times. C was my first high-level language after assembly, I then spent 20+ years as a kernel programmer in which all of my programming was either in C or various assembly languages before getting tired of
RIGGED ELECTION!!!! (Score:5, Funny)
Re: (Score:3)
Sacrilege to associate Perl with the Orange Mussolini. May you be modded into hell.
Re: (Score:1)
Re: (Score:2)
MPGA!
I agree!!
Let me be the first to say ... (Score:3)
Python Beats Java Again in New GitHub Annual Report
So what. Different tools for different problems / solutions.
The last two projects I worked on, for a large defense contractor, were done in Perl and Java.
Re: Let me be the first to say ... (Score:2)
Did they misplace the Ada license?
Re: (Score:2)
Did they misplace the Ada license?
Hah!
I actually worked in Ada on a DoD (Army) project, back in the late 1980s, though.
Re: (Score:2)
Did they misplace the Ada license?
Yes, and they shot the first guy who found where they had "misplaced" it :)
This "annual" report happens how many times per ye (Score:1)
Is this a Python ad? (Score:4, Insightful)
Might aswell selectively choose to say "Java beats TypeScript" or "...C#".
Is it because nobody would even jave listened if you said JS came first?
Sorry, still can't take this seriously. It's like the most popilar videos on YouTube. Of course numbr one is gonna be some total crap of a music video that makes Justin Bieber's first song seem like the work of a genius.
And don't give me "If you want a job...". I don't wanta job coding in JS. Nobody does. I already did, and as you can clearly see, I'm *still* traumatized, a decade and a half later. I'd rather be a digestion tank diver.
Re: (Score:2)
I don't wanta job coding in JS. Nobody does. I already did, and as you can clearly see, I'm *still* traumatized, a decade and a half later.
A lot has changed in 15 years. ES 6 fixed a lot of the problems with JS and Typescript goes even further. If you go into web development now it's not nearly as bad.
I don't choose a language because of community (Score:2)
I choose it because it's fast or easy to use
Re: (Score:2)
I choose it because it's fast or easy to use
Community is a factor, though. We all end up on SE at some point.
antarctica (Score:2)
Everyone forgets Antarctica.
There are probably some programmers there.
Though it may be a rounding percent to zero.
Re: (Score:2)
Where does .Net Core fall in your musings?
Decline of compilers is bad (Score:3, Interesting)
That proper compilers are so low in "popularity" reflects poorly on the programmer community...
Look around, by Moore's Law, our computers today are at least 1024 times beefier than twenty years ago (a minimum of 10 doublings) — clock rates are higher (even if not 1000 times higher), much bigger on-die caches, far many cores. RAM- and disk-sizes, network speeds have also increased tremendously.
But how is your "computing experience" — can you claim, it also improved thousand-fold? Nope... Though there are improvements, no way would I state, things are even fifty times better.
And I blame programmers — and system admins — for "stealing" most of the hardware improvements, to make their lives easier at the expense of their users and/or customers:
Re: (Score:2)
Sorry, no mod points today, definitely agree though.
Re: (Score:1)
Re: (Score:2)
And why exactly would you not want that a String type is by its own right a type?
And why would you not use garbage collection?
Sorry, while I agree with you that the user experience does not match the improvements in CPU etc. Your argument are just bollocks. There are not many "purely interpreted" languages in wide spread use.
And: the software I'm involved in usually utilizes the machine it is running on, optimal.
Re: (Score:1)
Because, unlike int or double, there is no such thing in the processor.
Because it is a crutch — a work-around for people, who wouldn't (or cannot be bothered to) manage their memory-usage themselves. Crutches may have their purpose, but forcing everybody to use them slows everybody down — and ruins everybody's posture.
Look at the practice — Java introduced garbage-colle
Re: (Score:2)
Because, unlike int or double, there is no such thing in the processor. ...
Wrong. Mainframes since the 1970s have that
The ret is just your fear about "progress".
Tuning a GC algorithm is actually not that hard. Certainly more easy than finding the 2000 memory bugs noobs like you tend to spread into your C and C++ programs.
Re: (Score:2)
You seem like someone that has only touched the surface of any of the things you're claiming to take issue with and have never bothered trying to understand what specific problems they are solving, or that computing needs have changed over time. Containers are a good example - you may start off with a large container for build-time dependencies, but then one typically create a statically linked binary and discards everything else in the final stage, so you end up with nice small purposeful containers with v
Re: (Score:1)
Don't make it personal and don't attack me...
What "statically linked binary"? Only the seventh most popular language, according to TFA, has such a concept at all!
What use is this survey? (Score:2)
I can't see the point of this. It purports to be a league table of some kind, but the criteria of "better" or "worse" have little bearing on whether it is worthwhile studying a particular language, or which languages are most used in real applications. If you choose to concentrate on Javascript skills, because it is the popular language, then I suggest you will drown in a swamp of mediocrity when it comes to getting a job. If you can write solid code in C and/or C++, this puts you in another class altogethe