4 ms·
OTOH JavaScript is the most popular language on GitHub
by jahewson 15y ago
OTOH JavaScript is the most popular language on GitHub
- clojurerocks 15y agoPart of this though is because web apps are for better or worse increasingly being almost nothing but javascript. And it becomes tedious moving back and forth between javascript and another language. Even if that language is really good. So i think people are just going with javascript for "everything" and rewriting their libraries in it.
- nivertech 15y agoHTML is the most popular language on GitHub ;)
- ergo14 15y agoAnd how does this relate to the statement above? How many of this is DOM manipulation code for browser? i'll make a wild guess of 90%?
- insin 15y agoI always wonder what percentage of that consists of included dependencies.
- ceejayoz 15y agoA good half of it may just be "we threw jQuery in here instead of making you download it".
- nkassis 15y agoHow does it calculate the size of the code base for each language? Most people would be using jquery as a minified oneliner. How can that inflate the numbers so much?
- ceejayoz 15y agoI'd imagine counting by characters would make a lot more sense than counting lines.
- Tobu 15y agoGitHub's source code language detection is over there: https://github.com/github/linguist/tree/master/lib/linguist https://github.com/github/linguist/tree/master/lib/linguist It doesn't measure line length, which could be a good way to detect minified JavaScript. It uses file extensions and byte size. There is some exclusion of commonly bundled libraries, but it's a rough heuristic on file paths.
- gurraman 15y agoMost of our "django projects" are listed as being written in js on GitHub.