Live data from Hacker News

GitHub Language Trends

redmonk.com

31–40 of 68 posts

Re: GitHub Language Trends

#32

Earlier quoted context omitted.

If a project mainly consists of JavaScript it should be a JavaScript project, no?

Well, to take an example: I work on the Mozilla Developer Network (MDN). MDN is mostly a wiki, and the underlying codebase for that is all in Python. There's also the Demo Studio, which lets people upload web technology demos, and that's Python too. But the wiki also has an embedded script-ish language (letting people create macros/templates for specific purposes and re-use them across multiple articles). That's Java…

One could argue that jQuery, and other libraries shouldn't be included in the repository proper, instead it could be a submodule or included in a package manager manifest, such as bower.

Re: GitHub Language Trends

#33
post #19

I find the complete lack of Go surprising.

Go is a new language so not that surprising. It is also over represented here on HN. You don't see Go jobs in the wild for example.

> You don't see Go jobs in the wild..

Do you fellas expect that to change over the next few years? I want to learn a new language, Go seems alluring, though I'd like to put myself on the right side of history.

Re: GitHub Language Trends

#35
post #5
post #3

I don't know this is a good indication of trends. As the article (somewhat shallowly) shows, there are stories behind of these graphs. Ruby has probably just settled to a normal position post early adopter. Shows that Ruby is still strong. Javascript is probably building the sorts of libraries that other languages already have. These guys have had a lot of work to do.

Yes, Ruby was very much "overrepresented" in the early days of github, so the decline in its growth relative to other languages is fairly normal sounding, rather than indicative of its actual decline. Also, Javascript is something that is going to get checked in to lots of web projects one way or another. I wonder if they weed out duplicate copies of, say, jQuery.

> I wonder if they weed out duplicate copies of, say, jQuery.

Linguist tries to filter out things like that:

https://github.com/github/linguist/blob/master/lib/linguist/...

Re: GitHub Language Trends

#37
post #8

FWIW many projects written in web languages like PHP seem to be treated as javascript by Github because they also have javascript code (which happens to be more significant / larger than the underlying code). It's unfortunate that there is no way to specify the primary language of a project. The Github language system is also somewhat unpredictable: https://github.com/SheetJS/test_files seems to alternate between App…

You can avoid 3rd party libraries being counted in by following some conventions, see the patterns ignored by Github's linguist https://github.com/github/linguist/blob/master/lib/linguist/...

Re: GitHub Language Trends

#38
post #5

Earlier quoted context omitted.

Yes, Ruby was very much "overrepresented" in the early days of github, so the decline in its growth relative to other languages is fairly normal sounding, rather than indicative of its actual decline. Also, Javascript is something that is going to get checked in to lots of web projects one way or another. I wonder if they weed out duplicate copies of, say, jQuery.

> I wonder if they weed out duplicate copies of, say, jQuery. Linguist tries to filter out things like that: https://github.com/github/linguist/blob/master/lib/linguist/...

"Tries" is the operative word here. There is a documented history of utter incompetence in Linguist.

Re: GitHub Language Trends

#39
post #33

Earlier quoted context omitted.

Go is a new language so not that surprising. It is also over represented here on HN. You don't see Go jobs in the wild for example.

> You don't see Go jobs in the wild.. Do you fellas expect that to change over the next few years? I want to learn a new language, Go seems alluring, though I'd like to put myself on the right side of history.

> I want to learn a new language, Go seems alluring, though I'd like to put myself on the right side of history.

* if you want to learn a new language because you enjoy learning new languages learn Go since you find that interesting

* if you want to learn a new language to make you a better overall developer learn a language different than what you're used to (i.e. if you've only worked with Python learning Ruby won't benefit you as much as learning a functional language like Clojure or a lower level language like C)

* if you want to learn a new language solely (or primarily) for the job prospects (and it sounds like you do) learn one that presently has a large number of openings (like Java) instead of learning a new language and hoping it flourishes (you can always learn Go [or whatever] when/if it becomes widely used)

Post reply on HN