📜 ⬆️ ⬇️

Stackoverflow language popularity

I was always confused by the report from Tiobe , well, it does not look like the truth. Well, at least because Delphi is in 9th place, and javascript is in 10, i.e. last and prepositioning places in the top-10. And this is in our time of development of web 2.0, well, obviously, it should be in a different order. Well, for the rest of the languages, everything is somehow suspicious. But what really is popular with advanced programmers? And it turned out to be quite simple to determine, just look at stackoverflow.com and see the popularity of the tags (they are clearly attached to the languages, there are a lot of moderators tracking the correctness of the tags)

So, rating is based on stackoverflow (language is the number of tags):
  1. c # - 65974
  2. java - 37323
  3. php - 30389
  4. javascript - 27256
  5. c ++ - 24215
  6. python - 19403
  7. sql - 16553
  8. ruby - 15055
  9. c - 10419
  10. objective-c - 8781

I'm not sure that it accurately reflects the situation, but at least it seems to be true :) And about the fact that C # is in the lead, this, as I understand it, is due to the fact that we all know, I think Joel Spolsky, part-time resource initiator, specializes in it, and was able to primarily attract programmers in this area to the resource.

ps If you want to play around yourself, or see the “complete list”, you can try this with the following code (in python):
 import urllib2 from BeautifulSoup import BeautifulSoup def tags_count(tag): page = urllib2.urlopen("http://stackoverflow.com/questions/tagged/%s" % tag) soup = BeautifulSoup(page) return soup.find('div', attrs={'class': 'summarycount'}).string tags = ['java', 'c', 'php', 'c++', 'groovy', 'scala', 'clojure', 'erlang', 'haskell'] for tag in tags: print("%s;%s" % (tag, tags_count(tag))) 

pps just not for the DDoS site :)

')

Source: https://habr.com/ru/post/86128/


All Articles