6 ms·
Well, his interpretation of the numbers is rather off, I'm afraid. Mostly due to the language categoriziation; Bootstrap, Node, Zurb Foundation and Adobe Bracke
by Cthulhu_ 13y ago
Well, his interpretation of the numbers is rather off, I'm afraid. Mostly due to the language categoriziation; Bootstrap, Node, Zurb Foundation and Adobe Brackets aren't Javascript projects, for example.
- laymil 13y agoI thought that was well addressed by this comment in the post: "Looking at the top repo for each language also exposes a weakness in the methodology: GitHub’s language identification isn’t perfect and there are number of polyglot projects. The top Java repo is Storm, which uses enough Clojure (20.1% by GitHub’s measure) to make this identification questionable when you take into account Clojure’s conciseness over Java’s."
- Adrock 13y agoOP here. I agree that the language categorization is questionable. It's all based on what the GitHub Search API returns as the language. Looking at Bootstrap, the classification doesn't seem to be strictly based on percentage: - CSS 59.8% - JavaScript 39.7% - Python 0.5% ...but GitHub Search says JavaScript. I do see that if I do a search query with a language filter, I get different results.
- misterdai 13y agoGitHub uses its Linguist project to detect languages and index them as far as I know. I've used the list of languages from this file: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml https://github.com/github/linguist/blob/master/lib/linguist/... I did pick an older version as they don't always run the latest release. Handy as you can filter out items flagged as "markup". Plus, have to watch out for languages like Mirah that are oddly indexed (same repo count as Ruby).