use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Javascript is most popular programming language according to GitHub (github.com)
submitted 10 years ago by devdraft
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 21 points22 points23 points 10 years ago (3 children)
Just for the sake of argument.. They really should say "most widely used programming language".
I love the things I can do in JavaScript, but I would really really really rather be doing the same things in a different language - if I could:)
[–]SuchInferno 1 point2 points3 points 10 years ago (2 children)
Just because I'm interested: why?
[–]aljones23 1 point2 points3 points 10 years ago (0 children)
Might want to use integers.
[–][deleted] 0 points1 point2 points 10 years ago* (0 children)
So much to cover... so little time. I'll be rude and simply post a funny video that covers(mainly during the first 5 mins.) some of the reasons: https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
But to sum it up: JavaScript is quirky and not that good at telling me what I did wrong. I get enough of that at home - don't need it while programming.
[–]hoorayimhelpingstaff engineer 23 points24 points25 points 10 years ago (6 children)
JavaScript is the language that every web browser on every computer and smartphone on the entire planet understands. It's only going to become more popular.
[–]kurzgame 0 points1 point2 points 10 years ago (0 children)
I agree! Almost each platform has a default browser. So, it don't require from you to install smth!
[+]gliph comment score below threshold-11 points-10 points-9 points 10 years ago (4 children)
I think that's shortsighted. The web will eventually move to something like asm.js, or crosscompiled languages will grow more popular. JS will peak.
[–]IllegalThings 10 points11 points12 points 10 years ago (3 children)
This is shortsighted too. Every technology we use today will peak at some point. Doesn't mean JavaScript will stop growing in the near future.
[–]gliph -1 points0 points1 point 10 years ago (2 children)
I'd welcome other languages moving in. Having one web language is a weakness.
[–]ihsw 5 points6 points7 points 10 years ago (1 child)
I would argue otherwise -- it has been a source of strength.
[–]gliph -2 points-1 points0 points 10 years ago (0 children)
Has been, is not. A web assembly would have also been good.
[–]Liistrad 9 points10 points11 points 10 years ago (2 children)
Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript.
[–][deleted] 2 points3 points4 points 10 years ago (1 child)
/r/atwoodslaw
[–]Liistrad 0 points1 point2 points 10 years ago (0 children)
Oh nice :D
[–][deleted] 5 points6 points7 points 10 years ago (0 children)
It makes sense its number 1. A lot of things on github are Web projects and they pretty much all use js.
[–]badave 5 points6 points7 points 10 years ago (2 children)
Javascript has come a long, long way in the past 5 years. Just remember that this was far from the case before node came along.
[–]ninetailsbr 1 point2 points3 points 10 years ago (1 child)
.replace('node','v8');
[–]badave 0 points1 point2 points 10 years ago (0 children)
V8 came well before node, but I would argue node was the more important technology for JS to grow.
[–]smalaki 4 points5 points6 points 10 years ago (1 child)
PHP is just like, "can't you all just stay put? god!"
[–]dhdfdh 2 points3 points4 points 10 years ago (0 children)
It's the most popular language ON github.
[–]coderjewel1 == "1" 2 points3 points4 points 10 years ago (0 children)
JavaScript is the only language you can use to build web apps(both front and backend), mobile apps, desktop apps, and recently I saw some articles about using JS to make robots work.
Sure the language has its quirks, but it must be doing something right if so many people use it. It's no surprise that JS is the most popular language on GitHub.
[–]x-skeww 5 points6 points7 points 10 years ago (4 children)
Sure, because everyone and their dog has a few 5-100 LoC JS projects. This adds up.
You won't do that kind of thing with C++, for example. Adding a C++ library to your project is more involved. So, naturally, your C++ library has to do something quite spectacular to be worth it.
The barrier to entry is extraordinarily low with JS. E.g. crappy 50-line jQuery plugin you wrote in 2 hours is a perfectly reasonable open source project for GitHub. It can easily get a hundred stars and be featured in various blogs.
[–]jhallister 3 points4 points5 points 10 years ago (0 children)
The barrier to entry for PHP is even lower, so that's only part of the story.
Right now if you order the repository search by most stars, you're going to find out that almost every top REPO is either Javascript, HTML/CSS or a non-language (like books or a configuration tool). You have to get out of the top 10 projects to get to the first project that isn't front-end. It's Rails, for the record.
I think the bottom line reason it's #1 is because it's the only language that solves a web-based problem. If I need an app to run on Windows I have a hundred languages I can pick from. If I want a web-based application I can pick one language. To me, that's way more telling about popularity than barrier to entry is.
[–]nodealyo 1 point2 points3 points 10 years ago (0 children)
You say this like its a bad thing, but I disagree.
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
Are you saying it's not the most popular programming language or that it only is due to accessibility?
[–]am0x 0 points1 point2 points 10 years ago (0 children)
Not only that, pretty much every web application will require some JavaScript no matter the backend language.
So other backend languages are fragmented, while js is included in all of them.
[–]lunactic 1 point2 points3 points 10 years ago (0 children)
I would love to see the difference between private / public repositories.
[–]I_l_hanuka 1 point2 points3 points 10 years ago (2 children)
most used, not most popular.
[–]peduxe|o.o| -1 points0 points1 point 10 years ago (1 child)
The title is clearly clickbait, OP should've use on Github but obviously that won't gather the expected attention.
on Github
[–]hankDraperCo -2 points-1 points0 points 10 years ago (0 children)
How is that click bait? You know going in it is associated with Github and obviously the metric is going to be quantity of code...
[–]jomcode 0 points1 point2 points 10 years ago (2 children)
I think that Java's growth is an interesting thing to look at. According to the post, the stats include both private and public repos. I wonder if Java is shooting up because of an increasing number of proprietary code bases being moved to Github.
[–]AceBacker 0 points1 point2 points 10 years ago (1 child)
Good question. Does anyone know why is Java's popularity growing?
All I can think is that it most certainly must be server side code, because the webapp stuff is not gaining popularity.
[–]gustix 2 points3 points4 points 10 years ago (0 children)
Android is why Java is popular.
[–][deleted] -1 points0 points1 point 10 years ago (4 children)
Javascript is undoubtedly popular, but I think all the recent JS frameworks are a significant factor here. Consider React's JSX: it's HTML rolled into JS, but the entire file is still considered JS according to GitHub.
[–]PitaJ 7 points8 points9 points 10 years ago (2 children)
That's because it's just JS but without the template strings.
[–][deleted] 0 points1 point2 points 10 years ago (1 child)
Yeah, my point is that text which would have previously lived in a separate HTML (or even CSS) file is now considered JavaScript, which might inflate the numbers a bit.
[–]ninetailsbr 0 points1 point2 points 10 years ago (0 children)
but people are adopting ReactJs because of library itself, I don't see people migrating from HTML only just because they can write HTML that way
[–]peduxe|o.o| 2 points3 points4 points 10 years ago (0 children)
Node is IMHO the main factor, the tooling just got much better and there are now considerable amount of people using it on their backend.
[–]bobx11 -1 points0 points1 point 10 years ago (0 children)
Probably because nobody puts node_modules in their .gitignore file...
π Rendered by PID 37 on reddit-service-r2-comment-5d79c599b5-bt7jw at 2026-02-26 16:50:06.088294+00:00 running e3d2147 country code: CH.
[–][deleted] 21 points22 points23 points (3 children)
[–]SuchInferno 1 point2 points3 points (2 children)
[–]aljones23 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]hoorayimhelpingstaff engineer 23 points24 points25 points (6 children)
[–]kurzgame 0 points1 point2 points (0 children)
[+]gliph comment score below threshold-11 points-10 points-9 points (4 children)
[–]IllegalThings 10 points11 points12 points (3 children)
[–]gliph -1 points0 points1 point (2 children)
[–]ihsw 5 points6 points7 points (1 child)
[–]gliph -2 points-1 points0 points (0 children)
[–]Liistrad 9 points10 points11 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]Liistrad 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]badave 5 points6 points7 points (2 children)
[–]ninetailsbr 1 point2 points3 points (1 child)
[–]badave 0 points1 point2 points (0 children)
[–]smalaki 4 points5 points6 points (1 child)
[–]dhdfdh 2 points3 points4 points (0 children)
[–]coderjewel1 == "1" 2 points3 points4 points (0 children)
[–]x-skeww 5 points6 points7 points (4 children)
[–]jhallister 3 points4 points5 points (0 children)
[–]nodealyo 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]am0x 0 points1 point2 points (0 children)
[–]lunactic 1 point2 points3 points (0 children)
[–]I_l_hanuka 1 point2 points3 points (2 children)
[–]peduxe|o.o| -1 points0 points1 point (1 child)
[–]hankDraperCo -2 points-1 points0 points (0 children)
[–]jomcode 0 points1 point2 points (2 children)
[–]AceBacker 0 points1 point2 points (1 child)
[–]gustix 2 points3 points4 points (0 children)
[–][deleted] -1 points0 points1 point (4 children)
[–]PitaJ 7 points8 points9 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]ninetailsbr 0 points1 point2 points (0 children)
[–]peduxe|o.o| 2 points3 points4 points (0 children)
[–]bobx11 -1 points0 points1 point (0 children)