Slashdot Mirror


Analyzing StackOverflow Users' Programming Language Leanings

AlexDomo writes to point out this statistical breakdown of the programming languages represented at StackOverflow. "Suprisingly, JavaScript turned out to be the most 'over-represented' language on StackOverflow, by quite a long way at 294% [where "a representation of 100% means that the SO tag count is aligned exactly with the TIOBE language index"]. Could this also be because programming JavaScript is generally quite difficult and will result in people seeking help more often? Following this was C# (which I had expected to be number 1), at 153%. After this, PHP, Ruby and Python were basically fairly balanced at around 100%. The most 'under-represented' major language would definitely be C at 11%. Three other major languages which seemed to be a bit under-represented, below 50%, were C++, Java and Objective-C. For details of the method used and the full results, refer to the original article." One of the attached comments makes an interesting point about the difficulty in divining meaning from such statistics, though.

127 of 185 comments (clear)

  1. JavaScript... or HTML DOM? by Anonymous Coward · · Score: 2, Interesting

    JavaScript is most often used for client-side web scripting. I imagine a lot of javascript tagged stackoverflow questions are related to figuring out the HTML DOM, which can be confusing, or trying to figure out browser quirks, jQuery syntax, etc

    On the other end, I don't know anyone personally who is in the process of learning C. Everyone I know who uses it are old C hackers who have years and years of experience, and aren't likely to need to ask many questions about it.

    1. Re:JavaScript... or HTML DOM? by lennier1 · · Score: 1

      Really? I actually know a lot of universities whose courses still include C (separate section of a C++ course) and x86 assembly, since they're regarded as one of the best ways of understanding essential basics using familiar technologies.

    2. Re:JavaScript... or HTML DOM? by justforgetme · · Score: 4, Insightful

      I'd like to rephrase Your point a bit:
      Javascript is in the #1 spot because the process of learning js is much more fragmented and because the language usually is utilized inside a browser environment, which complicates the language's behavior even more.

      A lot of people are learning to write js via copy paste tutorials which are distributed via many blogs and forums. Also a lot of people (eg: web designers) get to grips with the language by putting ready to use modules into their HTML pages. Now learning through the Internet is very much feasible, I'm not saying that. The problem from learning in this fashion is that your knowledge is very much fragmented, having usually no specific understanding of the program structure you should target and therefore ending up debugging very obscure problems.

      Javascript is unique in this (followed maybe by php) because for most other languages you have to set up an environment, get to grips with a compiler etc. This usually is seen as an obstacle but because of those prerequisites people usually take learning those other languages much more seriously, reading much more documentation (hardcopy or online).

      So I guess that it really isn't such a big newsitem.

      --
      -- no sig today
    3. Re:JavaScript... or HTML DOM? by man_of_mr_e · · Score: 2

      Yeah, all 3 of them? ;)

      (yes, I know arduino is relatively popular, but it's popular in a relatively unpopular sub-culture)

    4. Re:JavaScript... or HTML DOM? by mwvdlee · · Score: 2

      Perhaps it's because JS developers have to deal with incompatible browsers and wildly different levels of support and a relatively small standard library.
      I've rarely needed more than a good reference manual for C/C++/Java/PHP/etc., but for JS I'm regularly googling (or indeed on StackOverflow) for a solution to dealing with the latest IE incompatibility or finding a way to do something basic that'll work in all browsers I'm trying to support.
      Or perhaps developers of, for example, C# or Java can find their answers without using StackOverflow. My process for searching solution is Google first, StackOverflow second.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    5. Re:JavaScript... or HTML DOM? by Anonymous Coward · · Score: 1

      My university is still teaching a C class, but it's mostly a "learn about memory organization" type of class.... then the rest is all taught in Java.. except for senior and graduate level classes which often expect you to know something about C. (I learned C and C++ well in highschool, so I had an advantage)

      Plus many of the computer scientists I know do everything in Python these days, since they worry more about getting their research done rather than dicking around trying to find some pointer bug. Unless of course they're systems researchers... then yeah, they use C (MPI and all that)

    6. Re:JavaScript... or HTML DOM? by JoeMerchant · · Score: 1

      In my day (late 80s) we took classes in Fortran and Pascal... then they made you do semester long projects in C - no pre-requisite C class, hell I don't think they even offered a C class. Reasoning was, if you knew Pascal, C was pretty close and you should be able to figure it out.

      At 11% on the survey, I'd mark that as a success of C - no reason to ask questions, they have all been answered already.

      Now, GET OFF MY LAWN!

    7. Re:JavaScript... or HTML DOM? by Shifty0x88 · · Score: 1

      I agree, I believe it is because of the shift in programming languages from Compiled (C/C++) to Hybrid(Java/C#) to Interpreted(JavaScript). Most people probably went to school and learned at least one Compiled language, and are familiar with the concepts of a Hybrid language so that is an easy jump, but even I have a little trouble getting used to the Interpreted language style of JavaScript, and yes, of course the DOM as well.

    8. Re:JavaScript... or HTML DOM? by modmans2ndcoming · · Score: 1

      There is nothing intrinsic to interpretation that makes it inherently different than any other "style" of preparing a program to run on a CPU.

      Interpretation is just another method.

      What makes JS suck ass is the language construction, not the method of running the code.

    9. Re:JavaScript... or HTML DOM? by nepka · · Score: 1

      Also, many web developers probably aren't really trying to learn JavaScript - they're working on something else, for example with PHP and HTML, but need to do a few specific things with JavaScript.

    10. Re:JavaScript... or HTML DOM? by cavreader · · Score: 1

      C and C++ can provide an in depth foundation of concepts used in languages such as Java and C#. Both Java and C# dictate programming targeting the core run time (CLR) not the underlying OS. Both Java and C# provide the means to bypass the run time and go native but to do so adds some complexity to maintaining the run time processes. Things like memory management, threading, and GC implementation are a few examples. Run time targeted languages support these types of functionality but they do not provide the same amount of control as C/C++. I have never spent much time in Java but I have worked with the .NET CLR often and even though the nomenclature and terminology between C/C++ and the .Net environment seems to be the same there are specific differences in what the system is actually doing under the hood. The terms of inheritance and polymorphism are used in .NET but the implementation is not the same. C/C++ should be a required class because it covers all the basic concepts used in software development. Memory handing, threading, inheritance, and polymorphism represent a few of these basic concepts used in developing software no matter what language or platform is being used.

    11. Re:JavaScript... or HTML DOM? by wisnoskij · · Score: 1

      Java provides a in depth foundation of concepts used in languages such as C and C++.

      --
      Troll is not a replacement for I disagree.
    12. Re:JavaScript... or HTML DOM? by bsane · · Score: 3, Interesting

      I'm guess you've never actually used Pascal before? (either that or you've never used C).

      There are some glaring superficial differences between Pascal and C, and thats about it. I've converted 1000s of lines of Pascal to C with very little effort, the structure can stay _exactly_ the same, just fix the blocks and do some standard find/replace. Try converting BASIC to Pascal or C and get back to me.

      Background is similar to GP, learned everything in Pascal, including the old school Mac Toolbox (all Pascal), then one day everything new had to be C, you had to figure it out yourself. Not a big deal though- very similar...

    13. Re:JavaScript... or HTML DOM? by cavreader · · Score: 1

      I agree that they both contribute. I mentioned this specifically in my post. However wasn't C/C++ created before Java? If that is the case then the Java designers had something to compare their efforts against during the creation phase. I'm not claiming that the Java creators just copied certain aspects of the C/C++ language but they did have the opportunity to study any C/C++ weaknesses during their design efforts. On another note I just worked on a multiple tier application that required the creation of a C++ API and the company I did this for only had 2 developers in the whole company who could work were proficient that language. And this company has about 300 developers who worked on nothing except the .NET languages and Javascript. I was very surprised by this. One of the main requirements for the C++ layer was to create an easy to abstract and implement the API so C# developers could use it in their work without having to add or even really understand what the C++ functionality was actually doing.

    14. Re:JavaScript... or HTML DOM? by OeLeWaPpErKe · · Score: 2

      Every non-object oriented imperative systems programming language can easily be converted into any other. There are bigger issues in the conversion :

      1) strings. Pascal uses length + value, C uses null-terminated strings
      2) memory allocation is different. C is better though. It would be much harder translating C to pascal imho.
      3) Calling conventions. Though both C and Pascal support mostly any calling convention, hooking one up to the other correctly is a minefield. Although I suppose that's not a problem if you always use either only C or only Pascal.

      I've once seen a genius/total idiot create a series of #defines that allowed BASIC code to be entered in C. It actually mostly worked. I'm sure something similar can be done for pascal ("#define begin {" will actually work). It supported all sorts of strange things, from translating declarations (%i = 0 => int i = 0;). It wasn't even that much code, only about 50 lines.

      C is very versatile, but boilerplate in C rivals that in Java. You can fix that using the preprocessor, but that's also a minefield.

    15. Re:JavaScript... or HTML DOM? by OeLeWaPpErKe · · Score: 1

      You can actually override new() in C++. Or you could simply do what the linker normally does : statically declare a big segment, call it a heap and pass it to the standard library initializer.

    16. Re:JavaScript... or HTML DOM? by NoSleepDemon · · Score: 1

      So they had to employ 300 people to get just a handful of actual programmers? Yeouch.

    17. Re:JavaScript... or HTML DOM? by angel'o'sphere · · Score: 1

      Or perhaps developers of, for example, C# or Java can find their answers without using StackOverflow. My process for searching solution is Google first, StackOverflow second.

      TBH the majourity of (imediatly closed ofc) questions on SO regarding Java are: why is it throwing this Exception (most of the time NullPointerException) and: why does it not find my class? (Because people simply don't get the concept [or don't even now about] of a PATH variable and hence the CLASSPATH variable).
      My process for searching solution is Google first, StackOverflow second.
      Same here, but I have to say for quick introductions or links to good blogs I'm surprised how good the quality in SO often is. Some blogs regarding not so widely used stuff I found via SO and not via google ...

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    18. Re:JavaScript... or HTML DOM? by HopefulIntern · · Score: 1

      Yup, on my Software Engineering course we learned C with assembly as part of a "computer systems architecture" class.
      Additionally, at a different university where I started a CompSci degree, the whole first semester was *only* C programming. Again, the idea was that it was a good language to teach programming basics and principles, getting us into good coding habits (that often go forgotten if starting with, say, an interpreted language) and generally getting us used to native coding as opposed to the more common procedures these days, a la Java (the rest of my degree course was taught in Java).

    19. Re:JavaScript... or HTML DOM? by dokc · · Score: 1

      When I went to school we started with Interpreted language (BASIC) and afterwards switched to Compiled (Pascal and C)

      --
      In love, war and slashdot discussions, everything is allowed.
    20. Re:JavaScript... or HTML DOM? by cavreader · · Score: 1

      No they just took me off my intended project and made me the C++ developer for the application. I am not claiming I am some sort of C++ prodigy but I had enough knowledge to build this component. This happened around 8 months ago and to my knowledge they have not recruited or trained any programmers that can handle C++ work. The only other guy with C++ experience, and he was much more knowledgeable than me in C++ re-signed a few weeks after I started for reasons that did not involve this project.

  2. Obvious by whisper_jeff · · Score: 5, Insightful

    The reason Javascript is the most popular is obvious (to me at least): the web is based primarily on three languages - HTML, CSS, and Javascript. With those three, one can do most of what they want with a website. More advanced languages are for more advanced applications. Now, when some geek-lite decides they want to make a website, as many people now toy with, they are going to learn what? The advanced languages or HTML, CSS, and Javascript?

    Javascript is the most common not because it's the most difficult. It's the most common because it's the most sought after. Supply - Demand.

    Seems obvious to me.

    1. Re:Obvious by Anonymous Coward · · Score: 1

      You missed the point. Javascript is over-represented on SO compared to how much it's actually used.

    2. Re:Obvious by TwinkieStix · · Score: 1

      Agreed. I drew a similar conclusion:
      A typical hypothetical Perl programmer probably has a questions about some Perl libraries from time to time and posts about it. That programmer probably very rarely posts a question about C# or Ruby because that programmer doesn't ever need to touch those languages in his day to day work. That programmer will probably start asking questions about Javascript if he is tasked with writing a web application. I would have expected the same for the declarative languages SQL and CSS - neither of which were in the list probably because they aren't in TIOBE's list.

      The conclusion I drew is that web programmers have to program in several languages at the same time (a frequent complaint of the RoR crowd) even if those programmers specialize in a subset of those languages. It's natural that we would see an increase in questions asked about questions outside of that specialized subset but required to get the job done.

      Another issue I have with this data is that some languages (particularly dynamic typed languages and functional languages) can often get more done in fewer lines of code - the TIOBE root measurement. So, we expect an under-representation of languages with a lot of boilerplate such as Java. Interestingly, that doesn't seem to be the case.

      My final issue is that languages that are on the decline (fewer users new to the language asking questions) or mature languages (many more well answered questions, even before StackOverflow started, already available so no need to ask) should be under-represented. Languages that are on the rise or experiencing a lot of volatility such as Javascript (in both respects) should be over-represented because new users are entering the pool of questions and new functionality needs to be discussed.

    3. Re:Obvious by larry+bagina · · Score: 1

      It's over-represented on SO compared to the TIOBE language index.

      The [TIOBE] ratings are based on the number of skilled engineers world-wide, courses and third party vendors. The popular search engines Google, Bing, Yahoo!, Wikipedia, YouTube and Baidu are used to calculate the ratings.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    4. Re:Obvious by justforgetme · · Score: 2

      what this means (and what larry bagina points to) is that the rate of clueless (as in: advice needing) individuals from those that use js is much higher than the same rate for other languages.
      roughly that means: the mean js developer/tinkerer is the least knowledgeable developer/tinkerer (accepting that every one person only tinkers with one lang of course)

      --
      -- no sig today
    5. Re:Obvious by man_of_mr_e · · Score: 2

      That assumes that the TIOBE index is accurate, and I have no strong belief that it is. I know that in my area, there are not 3x as many Java jobs as there are C# jobs. In fact, Java has been losing a lot of ground since the Oracle takeover.

      What's more, there's a lot of difference between an Enterprise Java developer, and a mobile Java developer. It'a almost completely different skill sets.

      And certainly, C has lost a lot of popularity in the workplace. It's primarily only used in Unix and Embedded environments these days.

      Do some searches on Dice. If you search for C (it includes C++ in the results) you get roughly the same results as Java, but most of the results say C/C++, so it's hard to know just how much C is actually used.

      However, the biggest disparity is that JavaScript is used by a lot of novices with very little programming background. ie, they are not professional programmers.

    6. Re:Obvious by anonymov · · Score: 1

      My guess is: all four top languages, JS, C#, PHP, and Ruby (most probably on Rails) are popular target for "$languagename For Dummies: Learn to Write Great $(languagename == 'C#' ? 'Windows Application' : 'Web Site')s in 24 Hours!" kind of books, and those books target audience often doesn't even have patience to read those pamphlets through, so they just come asking questions instead of googling and/or figuring out for themselves.

      Of course, this intersects with the fact that JS/PHP/C# are indeed wide-spread.

      P.S: Note that I don't speak about languages' qualities, but about their marketing, so to say.

    7. Re:Obvious by Anonymous Coward · · Score: 1

      SO?? What the fuck does that mean. Try explaining your fucking acroynms before using them exclusively. Same with TIOBE. What are you trying to tell people with that? How about you are saying: Typically I Only Bullshit Excessively?

      Let me guess your coding style:

      /* Function: ahhh fuck it, this is all self documenting and it is OBVIOUS what my variables are. I don't need to comment more than this.
      */
      int x;
      int y;
      /* OK going to get very descriptive here! */
      char * xidfjfllsdkjfjh;

      For fuck's sake people, more of us might be interested in your article if we didn't have to get a dictionary out BEFORE we finish reading the synopsis. As for your acronyms here, I bet many don't know them because as much as it may seem, I'm willing to bet cash money that *most* here don't waste time in pissing contests about what the most popular or best language is.

    8. Re:Obvious by Anonymous Coward · · Score: 1

      So you leveled up/down from "didn't RTFA" to "didn't even RTFS"?

      Why don't you GTFO?

    9. Re:Obvious by firewrought · · Score: 1

      Javascript is the most common not because it's the most difficult. It's the most common because it's the most sought after.

      The author has not ignored popularity: he's using the TIOBE index to correct for it. JavaScript has the highest number of questions on StackOverflow relative to its weight in the TIOBE index, which could be evidence for the "difficulty" conclusion the author makes. As others have pointed out, this isn't the only hypothesis that makes sense, but it's a somewhat reasonable one. (Personally, I don't think the TIOBE index is all that great of a measure to begin with, but that's another story.)

      Incidentally, neither the StackOverflow question count nor the TIOBE index rank JavaScript as most common. If I'm reading the fine article correctly, they place it at #4 and #10, respectively.

      --
      -1, Too Many Layers Of Abstraction
    10. Re:Obvious by dskzero · · Score: 1

      It's a shame you posted as AC, because this is easily the best comment I've read so far on this topic. I totally agree with you.

      --
      Oblivion Awaits
  3. Learning a language? by E+IS+mC(Square) · · Score: 1

    There is also a possibility of people knowing about certain languages more than the others. In other words, in general, somebody programming in C might know the language better than somebody who is doing Javascript.

    Having strong foundation is important to know how to get stuff done before using the 'internet'. Certain languages are just better at that.

    1. Re:Learning a language? by Windwraith · · Score: 1

      I agree. Most C questions are about pointers or tricky data structures done the C way, and since there are already plenty of answers for those topics, it's redundant to ask them again. The site even tries to show similar questions when you start asking, so there's often no reason to repeat such questions.

      I think C is a very straightforward language once you know its quirks, so I feel the article makes sense. Also the whole webapp fad surely contributes to Javascript having a lot of questions.

    2. Re:Learning a language? by Windwraith · · Score: 1

      Actually, my personal case with C was just that. I would have loved some of that formal training though, but there are enough resources to actually do as you say with web languages. Just the contents (and useful links) in StackOverflow can help you getting a lot of insight on C and its tricky trickiness.

    3. Re:Learning a language? by Samantha+Wright · · Score: 1

      I think the underlying cause of this disparity is the lack of a solid, authoritative JS development environment. When C# programmers are confused, they turn to MS's documentation. When Java programmers are confused, they turn to Snoracle's documentation. C programmers probably turn to K&R or whatever textbook they were brought up with; or perhaps the vendor documentation again.

      But Javascript doesn't work that way. Any given piece of code has to run on at least four implementations (Mozilla, Microsoft, Webkit, and Opera) and so the social expectation that others have worked out the problem in a cross-platform way is much more critical—although that being said, at least MS and Mozilla now offer solid reference material for JS... yet it's still hardly cross-platform.

      Another perspective might be that, in general, most programmers will learn compiled languages (pretty much all of the other popular TIOBE ones) through school. There still isn't a course at my university that teaches JS, excepting perhaps some very introductory web design class. In the absence of an authoritative structure, programmers may be less motivated to seek out an authority for how to write good JS, which is reasonable since there really isn't one.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    4. Re:Learning a language? by Xest · · Score: 1

      Frankly I think this is EXACTLY what it's about. For the most part:

      People doing C are old school skilled developers.

      People doing C# are professional developers or hobbyists with a genuine interest in programming.

      People doing Javascript are the average Joes in the street who just built their first HTML page and want to know how to make a hover button or whatever but really just aren't interested in programming in general.

    5. Re:Learning a language? by dokc · · Score: 1

      You will not get far away with K&R (although the "C Programming Language" is THE must have book on the shelf). Most of the questions that C Programmers ask are on a compiler forums and they are mostly compiler related. For beginners there are so many language tutorials that there is no need to ask (1000 times already asked) questions on SO.

      --
      In love, war and slashdot discussions, everything is allowed.
  4. Javascript has always been a copy & paste lang by jrumney · · Score: 4, Insightful

    I wouldn't say Javascript is a particularly difficult language to program, but there is a huge variation in the skill sets of people developing in it, with a heavy bias towards those who couldn't write an original line of code to save their ass. This is the type of programmer who will flood message boards with requests for help with trivial little problems.

  5. conclusions by bigdavex · · Score: 5, Insightful

    JavaScript is something a newbie might want to try out. Newbies ask more questions.

    I don't think that's a reflection on the difficulty of JavaScript.

    --
    -Dave
    1. Re:conclusions by Kozz · · Score: 1

      JavaScript is something a newbie might want to try out. Newbies ask more questions.

      I don't think that's a reflection on the difficulty of JavaScript.

      Additionally, everyone who visits StackOverflow is guaranteed to also already have a Javascript engine/interpreter built into their browser.

      --
      I only post comments when someone on the internet is wrong.
    2. Re:conclusions by ripdajacker · · Score: 1

      JavaScript has the corner cases where it kind of sucks. Many start out thinking it's object-oriented, it's in fact functional. New programmers have a hard time grasping the advanced scoping rules of it, the automatic statement termination, == vs === etc.

      So in that sense it's really a hard language, not because of syntax or libraries, but due to the at times seemingly arbitrary behaviour.

  6. Seems to track age of the language by Haven · · Score: 1

    It don't surprise me that it seems to correlate to the age of the language multiplied by how widespread the use, with "newer" languages that are widely used being the most represented.

    I don't think it has anything to do with how difficult Javascript is, but more to what the programming experience is of the person using the language. I'm sure there are more would be more posts asking about QBasic than LISP if there was internet in 1994 like there is today.

    Also people using C/Java/etc. can self-teach by digging through libraries themselves.

    1. Re:Seems to track age of the language by frosty_tsm · · Score: 1

      It don't surprise me that it seems to correlate to the age of the language multiplied by how widespread the use, with "newer" languages that are widely used being the most represented.

      I don't think it has anything to do with how difficult Javascript is, but more to what the programming experience is of the person using the language. I'm sure there are more would be more posts asking about QBasic than LISP if there was internet in 1994 like there is today.

      Also people using C/Java/etc. can self-teach by digging through libraries themselves.

      Age only tells part of the story. I think everyone can agree that JavaScript is special, but here's why I think the 100% or less languages ended up where they did:

      • Java and C++ are established, well documented, and developers tend to be working in teams rather than isolation (I assume Objective-C has similar characteristics but I will not claim to know such).
      • PHP tends to (but isn't always) used by hobbyist or in isolation.
      • Ruby and Python are relatively new to the scene and have been experiencing a lot of change (Rails 1, 2, and now 3 with a little bit of Merb; Django, Pylons and Pyramid). Knowledge share occurs primarily online and to be honest, documentation isn't all that great (partially do to the rapid change).
      • C is written by engineers locked in a basement without access to the internet (so no one can hear their screams for help ;-)
  7. The tech support effect by goombah99 · · Score: 1, Insightful

    At my institution through the 90s and early 2000s we had to have many more Windows tech support "firemen" than apple support techs. Indeed there basically were no virus and networking and printier driver conflict fires to put out. You didn't have to worry about interrupt conflicts between PC cards. No fires.

    The result was every time there was an major IT decision, the windows support techs would out vote the apple support techs. Lots of windows only software became standards and at one point there was a push just go windows only.

    All because there were more problems and thus more support techs.

    I would imagine that more mature languages have fewer people looking for clever tricks on this web site.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:The tech support effect by Xest · · Score: 1

      I think this is something specific to where you've worked, I've never heard of a company where all IT decisions go to popular vote amongst the techies, most places have IT managers who make such decisions and it really then comes down to an objective decision if competent, a biased decision if incompetent or outright corrupt.

      People with specialist knowledge in the realm of the decision in question may get asked their opinion or it may get passed down to them, but popular vote as a strategy for IT decision making, wtf? That's a bad idea precisely because some people will be more knowledge and more objective than others, better to have those managing the department and making the decisions than letting every monkey with a screwdriver and a stick of RAM have their input unless they genuinely have something helpful to add.

  8. a mirror of stack overflow users, nothing else by sick_soul · · Score: 2, Insightful

    "Suprisingly, JavaScript turned out to be the most 'over-represented' language on StackOverflow, [...]
    Could this also be because programming JavaScript is generally quite difficult and will result in people seeking help more often?

    I think that JavaScript is also used by people that do not understand it very well, and they are more likely to resort to the kind of help that this website provides.

    Following this was C# (which I had expected to be number 1), at 153%. After this, PHP, Ruby and Python were basically fairly balanced at around 100%. The most 'under-represented' major language would definitely be C at 11%.

    I am a C programmer and do not need help from this "stack overflow" web site.
    My references are the C programming language standards and the single UNIX specification.

    1. Re:a mirror of stack overflow users, nothing else by svick · · Score: 1

      My references are the C programming language standards and the single UNIX specification.

      So you never write any code that is OS-specific, you never use any third-party library and you never write any GUI? Good for you.

      From my experience, the documentation isn't always great. And even if it is, some things just aren't obvious.

    2. Re:a mirror of stack overflow users, nothing else by Caesar+Tjalbo · · Score: 1

      I am a C programmer and do not need help from this "stack overflow" web site.

      As a Python programmer I didn't need it either but since I have to code in C#, I'm quite happy with its existence.

      --
      "I'm not much interested in interoperability. I want substitutability. I want to be able to throw your software out."
    3. Re:a mirror of stack overflow users, nothing else by InsertCleverUsername · · Score: 1

      I am a C programmer and do not need help from this "stack overflow" web site.
      My references are the C programming language standards and the single UNIX specification.

      Dude... Was I supposed to imagine this read in the voice of Comic Book Guy from the Simpsons?

      --
      Ask me about my sig!
    4. Re:a mirror of stack overflow users, nothing else by slapout · · Score: 1

      'I am a C programmer and do not need help from this "stack overflow" web site.'

      Then perhaps you should go to this "stack overflow" website and help others who don't know as much as yourself.

      --
      Coder's Stone: The programming language quick ref for iPad
  9. Difficulty or Popularity or Medium Popularity? by gameweld · · Score: 2

    -Do we ask questions because of difficulty or because the underlying technology is more popular?
    -Are javascript developers more likely to use sites like stackoverflow vs traditional means (books, mailing list, forums, etc).
    -Do we underestimate javascript usage? Does javascript span more projects, i.e. I have a C# based web-project, but still use javascript for the UI.

    These are the underlying questions that would have to be answered before we could derive anything from this sort of analysis. That said, in our recent study of stackoverflow questions (publication pending), we found that there was a strong correlation between the frequency of using a particular API class (as defined by google code search), and the numbers of questions asking about those classes. This could suggest questions have a large popularity component, or it could mean people are more likely to run into difficulty with popular components!

    1. Re:Difficulty or Popularity or Medium Popularity? by Windwraith · · Score: 1

      I wanted to mod you insightful but I already posted so...

      Well, recent developments in the software world have made Javascript kind of an ubiquitous language. You can find a lot of apps that can be scripted using JS nowadays, not just web browsers.

      Also, StackOverflow is a damn good place to ask questions, I can see why people would prefer to books or mailing lists and forums. Forums leave too many questions unanswered, mailing lists can be terribly slow, and books aren't free (nor available worldwide).

      And of course popularity would influence things. When I just started learning C, it was "the hot thing" to make games with, at least from an outsider's perspective, or it was the language other people recommended when you announced your intentions. I assume C# and Javascript are the most mentioned and/or recommended in their respective use fields, which leads to more people wanting to know it, which leads to more questions asked.

    2. Re:Difficulty or Popularity or Medium Popularity? by nschubach · · Score: 1

      To add:

      -Do we ask questions because the language implementation does things differently than we are used to doing in another language or that would defy common convention. Since it's needed for your job, you need to find out what way that is.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    3. Re:Difficulty or Popularity or Medium Popularity? by Mad+Marlin · · Score: 1

      -Does javascript span more projects, i.e. I have a C# based web-project, but still use javascript for the UI.

      I think that has a lot to do with it. I mostly do C, Ruby, and Python, but I've had to do JavaScript a lot more than I would expect, and my knowledge of it is still rather limited. I know programming and software development both rather well, but I've never put the time to really learn JavaScript.

  10. Huh? by oldhack · · Score: 1

    I've seen StackOverflow site, I know and used most of the languages mentioned, but I have no idea what the summary is yammering about.

    --
    Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
  11. Cue it.. ! by 0ld_d0g · · Score: 1

    Cue the non-JS programmers bashing web developers as "not real programmers". :-)

    1. Re:Cue it.. ! by RightwingNutjob · · Score: 1

      You're going to have a heck of a time doing web development in raw, inscrutable, hexidecimal numbers, directly.

    2. Re:Cue it.. ! by 0ld_d0g · · Score: 1

      Why stop there? You're going to have a heck of a time doing anything without CPU microcode, reliable transistors and signal processing.

    3. Re:Cue it.. ! by HopefulIntern · · Score: 1

      I have been on the receiving end of this bashing, and yet there is some (albeit very little) truth to the notion. "Programming", as I understand it, is different from "scripting" which is what (many people think) web development is. Apart from the HTML and CSS part (which is technically neither...what is it called exactly??) web development revolves around writing scripts to handle events (PHP, for example, to handle an HTML form submission). People seem to think that this development style is not "real programming" because you do not compile anything yourself, you do not allocate memory, you are not making a standalone "program" as such. But then again, this can be said for Perl (by definition a scripting language) or even Java (also, not compiled or native).
      This is not to say that web development is easier. On the contrary, people with "web developer" as their job title, as has been already mentioned, tend to need to know quite a wide variety of languages to be very employable, in contrast to someone who is a Java developer, who for the most part only works in Java and can therefore become a guru in this one language.
      By the way this is just my very limited perception on this issue, as I am in no way a very experienced programmer, and am just in early stages of a career in development (web or otherwise).

  12. Re:Javascript has always been a copy & paste l by gtada · · Score: 1

    jrumney beat me to it, but I agree 100%. I don't find these results surprising at all.

  13. PHP by optymizer · · Score: 1

    Before the PHP haters start posting comments, I would just like to say: haters gonna hate.

    1. Re:PHP by optymizer · · Score: 1

      And what are your qualifications to judge the design of a programming language exactly?

  14. Most Misunderstood... by SharpFang · · Score: 3

    Javascript is - according to its author - the most misunderstood programming language in the world. While it bears surface similarity to languages like C and Java, and allows you for simple programs to be similar in structure to these, its core design is much closer to LISP (and the syntax quite efficiently obscures/hides that), and so few people truly understand it... so questions are very frequent.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    1. Re:Most Misunderstood... by sourcerror · · Score: 1

      I would welcome however to have a built in clone() method, if it pretends to be object oriented.

    2. Re:Most Misunderstood... by TheRaven64 · · Score: 1

      It's a shame that it lacks one by default, but given that it's just two lines of code to add one to Object, it's not a massive limitation...

      --
      I am TheRaven on Soylent News
    3. Re:Most Misunderstood... by angel'o'sphere · · Score: 1

      JS (I assume you refer to it, yes?) is not object oriented but object based. A small but important difference.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  15. Re:Javascript has always been a copy & paste l by Hentes · · Score: 1

    It's not necessarily because of ignorant programmers, reusing existing code is not a bad thing in itself. But yes, Javascript is mostly copy&paste because it's very modular. Big programs are rare, it's mostly just snippets of code implementing specific controls so it's very easy to copy.

  16. C Programmers by paithuk · · Score: 5, Funny

    All the C programmers are busy over at bufferoverflow.com

    1. Re:C Programmers by Mastadex · · Score: 1

      The SO guys should grab that domain name.

      --
      A morning without coffee is like something without something else.
    2. Re:C Programmers by syousef · · Score: 1

      All the C programmers are busy over at bufferoverflow.com

      More like coredump.com. Back in the day my uni friends and I use to describe going to the toilet as dumping core.

      --
      These posts express my own personal views, not those of my employer
    3. Re:C Programmers by MobyDisk · · Score: 1

      Or bufferoverflow.com#$a(k?e@`%s5^_`

    4. Re:C Programmers by MadKeithV · · Score: 1

      All the C programmers are busy over at bufferoverflow.com

      And the C++ programmers are still linking - but it will be so much faster when it's done!

    5. Re:C Programmers by HopefulIntern · · Score: 1

      I'm stealing that, even if I'm not a C programmer!

  17. It's all a matter of perspective by damn_registrars · · Score: 1, Funny

    They clearly tried to manage their data using javascript, a big mistake from the get-go. If they'd have taken the same data and parsed with with Perl, they would have found that all the questions came from Python and Ruby people. Had they done it in C++, all the questions would have come from C# users. Had they done it in PL/SQL they would have found that the questions all came from rounding errors.

    And if they had done it in assembly, they would have found there were no questions at all...

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
    1. Re:It's all a matter of perspective by aintnostranger · · Score: 1

      woosh!

  18. Not the top tag though? by iSimon19 · · Score: 1

    I do find this interesting, considering the top tags for Stack Overflow questions are C# and Java.

  19. Interpreting the statistics... by gstrickler · · Score: 1

    ...real programmers don't ask for help, unlike those wimpy JS hacks and C# pretenders.

    --
    make imaginary.friends COUNT=100 VISIBLE=false
  20. This clearly shows... by eexaa · · Score: 1

    ...that there aren't many stack overflows in C!

  21. Re:Good programmers don't use StackOverflow. by Windwraith · · Score: 2

    I don't disagree with your post, however, many good programmers start out as "shitty" programmers.
    That's simply because not everyone has the background or know-how to get into a "code mentality" right away, and asking stupid questions is a good way to learn (specially if you realize that your question was, indeed, stupid).
    I don't think reputation points and badges are worth anything though, but that's me. Still, you can see a incredible amount of really good, informative and "stimulating"** answers posted to not-so-smart questions.

    **Stimulating as in some kind of answer that makes you want to try alternate ways to reach your goal. the kind of thing that makes you fire up your IDE/text editor to hack, right away.

  22. Re:Good programmers don't use StackOverflow. by Sir_Sri · · Score: 1

    So maybe what it tells us is Javascript is where a lot of people get their start coming from non programming fields, and they hit stack overflow having no clue what they're doing. People who learned programming, in any language, don't land on SO because they know most of the basic stuff anyway, and of course most people who learn to program learn to do so in one of the C family and Java.

  23. Amateur programmers not willing to learn by jtara · · Score: 1

    It's probably because Javascript has the largest proportion of amateur programmers who aren't willing to learn the language they are programming in. They won't buy a book, they won't take a class, they won't read an online manual or tutorial. What they will do is download a free script and they beg others to customize it for them. This is usually prefaced with "I don't know Javascript, but I have to...."

    1. Re:Amateur programmers not willing to learn by shog9 · · Score: 1

      Yup...

      But here's the concept:

      Programmers seem to have stopped reading books. [...]

      Instead, they happily program away, using trial-and-error. When they can't figure something out, they type a question into Google. [...]
      -- Joel Spolsky, stackoverflow.com (several months prior to the site actually existing)

      Does that scare you? Bother you? Leave you a depressed shell of a man, thinking seriously about that potato-farming slash fracking job you left behind back in Idaho?

      Well, it probably should. But regardless, that's reality: and that's the audience Stack Overflow was created to serve. So that the apps we're using every day aren't being cobbled together by folks who think DynamicDrive.com and W3Schools are the last word in programming knowledge. If nothing else, this little chart indicates it's working...

    2. Re:Amateur programmers not willing to learn by Undead+Waffle · · Score: 1

      Yup...

      But here's the concept:

      Programmers seem to have stopped reading books. [...]

      Instead, they happily program away, using trial-and-error. When they can't figure something out, they type a question into Google. [...] -- Joel Spolsky, stackoverflow.com (several months prior to the site actually existing)

      Does that scare you? Bother you? Leave you a depressed shell of a man, thinking seriously about that potato-farming slash fracking job you left behind back in Idaho?

      Well, it probably should. But regardless, that's reality: and that's the audience Stack Overflow was created to serve. So that the apps we're using every day aren't being cobbled together by folks who think DynamicDrive.com and W3Schools are the last word in programming knowledge. If nothing else, this little chart indicates it's working...

      Why is that scary? I don't think books are a particularly good way of learning to write software. Often times you don't know exactly what it is you need to learn until you get there. Obviously you need a good foundation so you don't end up gluing a bunch of stuff together and creating a mess of memory leaks, but you don't need a book for every little topic.

      One way I often use StackOverflow is to find better solutions to something I already know how to solve. Python has a lot of neat features that, when used correctly, can create some very elegant solutions. I'll run into a problem and think "I know there's a much better way to do this, I just don't know what it is" so I'll search StackOverflow. Does it make me a worse programmer that I haven't run out to buy books on every type of problem I might want to solve for every version of the programming language I might want to solve them in and trusted that the writer has the best solution available?

  24. Re:Good programmers don't use StackOverflow. by mikael_j · · Score: 3, Insightful

    Virtually all of the questions asked there can be answered by doing the following:
    1) Reading the documentation of the programming language, library or software in question.
    2) Having even a basic level of skill with the technology in question.

    A big problem with this is that when "the library" is "All of the .NET framework" just going through the docs isn't always as easy as it seems. And even if you do find what you think is the right parts of it to use you can find yourself confused right up to the point where you ask a question on StackOverflow and someone helpfully points out that .NET actually has multiple implementations of what you want to do and that the obvious one is rarely the right one. Not to mention actual honest-to-god bugs and implementation quirks that aren't mentioned in the official docs (sure, you can search all of MSDN and hope to stumble across some MS advisory that explains a workaround but even then you might find it is overly specific, if you find it at all).

    As for JavaScript there are definitely a lot of beginners out there trying to use it. There is also the issue of JavaScript being frequently used with (X)HTML, CSS and some web service that it fetches data from. Couple this with a lot of the information about JavaScript out there being wrong or outdated and it isn't really that strange that a lot of developers who would normally mainly work in say, Java, C# or Python, find themselves confused and facing conflicting information on how to solve a seemingly strange problem. JavaScript as implemented by various browsers also has a few oddities (both in terms of differing implementations and plain WTFs that are bound to baffle developers unfamiliar with it).

    --
    Greylisting is to SMTP as NAT is to IPv4
  25. It's about what people visit the site by ImonseI · · Score: 1

    The basic languages that new people work most with will be the ones that are posted most questions for. Not many people begin their programming experience in C nowadays, so people learning C will have some experience in general behind them. Also my totally blind guess is that C experts don't frequent stackoverflow as much. That leads to the interesting question of "where do C and other programmers go to get their answers if not to stackoverflow?".

    1. Re:It's about what people visit the site by syousef · · Score: 1

      The basic languages that new people work most with will be the ones that are posted most questions for.
      Not many people begin their programming experience in C nowadays, so people learning C will have some experience in general behind them.
      Also my totally blind guess is that C experts don't frequent stackoverflow as much. That leads to the interesting question of "where do C and other programmers go to get their answers if not to stackoverflow?".

      Being an older language, C standard libraries and Unix libraries tend to be very well documented in a few places. Lots of good older text books and reference manuals and online tutorials abound. stackoverflow tends to most be popular with web and enterprise programmers building business apps - C doesn't get used on new business apps anymore and hasn't been in some time.

      --
      These posts express my own personal views, not those of my employer
  26. Place to ask questions by suy · · Score: 1

    To me is somthing as simple as that: most Objective-C developers are coding for Apple plattforms, so they ask in an Apple-specific place. My C++ coding is usually done with Qt, so I will ask in a Qt related place. Linux kernel developers are not going to ask C questions on stack overflow, they ask in a linux-related site.

    And so on...

  27. TIOBE by Anonymous Coward · · Score: 1

    TIOBE is pretty much the most worthless index you can make without just making shit up. I have no idea why people keep paying attention to them.
    It boggles the mind why anyone would take a pretty accurate measure of a local population, compare it with a wildly inaccurate one over a larger population, and expect to find some meaningful relation between the two.

  28. It's about browser support by LS · · Score: 1

    With JavaScript, you've got to support multiple browsers from the get-go, doing things that were never intended by the VM implementers, such as network polling and widget systems.

    --
    There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
  29. Teach it to yourself. TIY? by sgt+scrub · · Score: 1

    Stackoverflow is great for people that teach themselves. TIY or TitY? The list there is ordered by the most popular languages people teach themselves. Some people, namely myself, need to reach out every once in a while for a little help. Well, there are the kids using it to get someone else to do their homework but no need to go into that.

    --
    Having to work for a living is the root of all evil.
  30. Re:Good programmers don't use StackOverflow. by man_of_mr_e · · Score: 2

    While certainly, there are a large number of questions that could easily be solved by googling, many questions are more subtle or deal with issues that are not well documented.

    Particularly in technologies that change quickly, there is a huge need for this kind of site. One problem with googling information that changes quickly (for example, Linux) is that information that's out there quickly gets out of date, and people spend hours trying to solve their problems with inaccurate how-to's and man pages. Asking a question gets you more up-to-date information from people that know what they're doing, and it becomes a self-documenting system.

    StackOverflow has become the primary location to go to search for programming issues you're dealing with, because unlike google, it doesn't contain extraneous results, spam, and things non-programming related.

  31. Re:Good programmers don't use StackOverflow. by TheRaven64 · · Score: 1

    I suspect that, in JavaScript's case, it's because there are a lot of things that can go wrong. In C, once you understand pointers that's 90% of the difficulty gone. With JavaScript, you have weird quicks of the scoping, strangeness related to the semicolon insertion and the bizarre binding behaviour of return, and that's before you get into browser-specific quicks and DOM weirdness.

    --
    I am TheRaven on Soylent News
  32. Re:Javascript has always been a copy & paste l by Qzukk · · Score: 2

    there is a huge variation in the skill sets of people developing in it, with a heavy bias towards those who couldn't write an original line of code to save their ass.

    That, combined with the fact that the internet is flooded with ancient javascript snippets ripe for copying and pasting despite the fact that they don't work on anything but netscape 4.

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  33. High scorer languages by Coward+Anonymous · · Score: 1

    Would be interesting what languages the high scoring members answer most of their questions. Wildly interpreting it as what languages the competent programmers are using.

    1. Re:High scorer languages by Westley · · Score: 1

      There's an obvious potential correlation between high scores and plenty of questions being available though.

      Hitting the rep cap (200) each day is relatively straightforward, which leaves only accepted answers (and bounties). If there aren't many questions in your area of expertise, you could easily end up with only 260 per day despite being incredibly savvy.

      I'm lucky that my two areas of "reasonable competence" (I wouldn't quite go as far as expertise) are Java and C#, both of which have plenty of questions available. Whilst there's obviously more competition in those topics too, it's a fairly "target rich environment" so to speak.

    2. Re:High scorer languages by Coward+Anonymous · · Score: 1

      Yes, there could be a high correlation as you describe or there may not. That's why I think it would be interesting to ferret out the numbers and see if anything interesting can be deduced from them.

  34. Re:Good programmers don't use StackOverflow. by GGardner · · Score: 3, Insightful

    Virtually all of the questions asked there can be answered by doing the following: 1) Reading the documentation of the programming language, library or software in question.

    This is one reason there are so many JavaScript (perhaps actually DOM) questions -- where is the documentation to answer questions like "how do I do x, across every major browser versions which didn't really follow standards well"? If I'm programming in, say, Java or C++ with some framework where I control more of the environment, I can go to one place to answer questions, but there's no one definitive source for these cross browser problems.

  35. Re:My take on the C figure by Tacvek · · Score: 2

    C is only particularly dangerous when inexperienced developers just jump in and start writing code without having more experienced developers review what they wrote. The inexperienced developers have not yet developed good practices to ensure they don't overflow a buffer. Similarly they don't understand ownership of allocated memory, so they end up either freeing memory owned by other code, or failing to free memory when ownership is passed to their code.

    If experienced developers carefully reviewed the code, these sorts of problems would be noticed and corrected, and things are fine. Unfortunately, real code review is somewhat rare in the business world, as are static analyzers that would also tend to catch many of these same mistakes. If you properly implement safeguards C can be a fine language, (although admittedly I'm a bit partial to C++ myself as a "low-level" language, despite its many, many flaws).

    For a high level statically typed language, I actually prefer C# as a language over Java, although C#'s strong ties to Microsoft are admittedly a negative. They are rather similar languages, each with their own flaws, but I like that C# sometimes adds some syntactic shortcuts for common patterns, while Java absolutely refuses to even consider many syntax-only changes, and when they do add one, like anonymous classes, they feel half-baked.[1]

    [1] Anonymous classes must be inner classes, they do not provide the option of being static nested classes which I find to be far more useful than inner classes. They are also not full closures, which are (were?) planned for java 7, which would (will?) end up making anonymous classes feel largely obsolete. (Although in Java's Defense, I'll admit that C# made a similar mistake with the anonymous methods, which really are entirely obsoleted by the newer lambda expressions. On the other hand, C#'s anonymous methods were in fact full blown closures.)

    --
    Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
  36. ...or is TIOBE just wrong. by bradgoodman · · Score: 1
    Or can it be that TIOBE is just wrong. A poor index, not necessarily representative of anything. I forget exactly how the index is calculated, but to my last recollection, it wasn't representitive of anything "real-world-enough" to really account for much of anything.

    I'd guess that SO is more representative of "what people are actively engaged in". Maybe....for example, I work in "C" and "Perl" all the time. However, I knew them well enought that I very, very rarley post any C or Perl questions

    I have worked a lot with Andrioid an iPhone latley. As these are more recent environments for me, I post questions on SO to them more.

    So maybe SO is more reflective of what people are learning?

    1. Re:...or is TIOBE just wrong. by shutdown+-p+now · · Score: 1

      That is certainly quite true - TIOBE is practically worthless to gauge PL popularity, so using it to define "overrepresented" is worthless squared.

      One other aspect is that communities tend to acquire bias for historical reason. E.g. on SO, there is a fairly strong historical bias for .NET stuff - not sure whether it started by .NET community flocking there because MSDN forums had sucky UI, or because a bunch of people who could give good answers came there first because it's new - but, ultimately, it became the place to ask .NET-related questions where you want those people to see them and answer them. Hence why e.g. C# tag is more popular than Java on SO.

    2. Re:...or is TIOBE just wrong. by shaitand · · Score: 1

      "C" and "Perl" are completely different cultures than "javascript" and "C#" as well. These languages are entrenched in an RTFM culture that means the coders who use them generally try to find the answers for themselves before posting to a board expecting someone else to deliver for them.

    3. Re:...or is TIOBE just wrong. by Toy+G · · Score: 1

      .NET programmers were there first because the founder, Joel Spolsky, moved his (large) community over there first, and that community was mostly Microsoft-centric (Joel worked at Microsoft and wrote some very insightful posts on Redmond strategy, back in the day). Most old-school VB types were knee-deep in C# by then, so that's what they brought up.

      --
      -- Let's go Viridian.
  37. maybe, but this analysis is surely wrong by dshk · · Score: 1

    I have recently contributed a few answers to stackoverflow in a language independent subject. I did notice that PHP programmers asks the most obvious questions, immediately after C# programmers. Based on my experience the statistics on stackoverflow show one thing: popularity of a language in the group of wanna-be programmers (maybe they do not even want to be programmers).

    1. Re:maybe, but this analysis is surely wrong by dshk · · Score: 1

      I would add that mobile programming also seems to be very popular among beginners.

  38. Poor conclusions by Anubis+IV · · Score: 1

    So, languages that have come into heightened popularity in the last decade or so, most of which are primarily used or oriented around web development, were the most overrepresented, while well-established languages aimed at native applications development were the most underrepresented? And from that they conclude that Javascript is a hard language? I think there are a number of better conclusions that could have been made, such as:
    1) Stack Overflow attracts more web developers than native application developers.
    2) Newer languages have less documentation available.
    3) Those languages that are overrepresented tend to attract more newbies.
    4) There's a lot more innovation in the ways that those languages are being used, which prompts more questions.
    5) Those languages are the most dissimilar from the others, which means that less previous experience translates over.

    I'm not suggesting that any of these is necessarily the cause, or that it's one of these and not the others, but I do think that any of them is a better explanation than what was given in the summary.

  39. Not much of a shock by shaitand · · Score: 1

    The ratings have an inverse relation to the average competence and self-reliance of those using the language. Javascript and C# are typically used by inexperienced programmers or programmers without advanced internals knowledge. People on this side of the coin haven't been told to RTFM enough so they expect others to give them answers rather than finding them themselves. PHP and Python coders thrive in a community populated by many former Perl coders so many of them get the proper RTFM treatment but they are also popular and easy languages so they only get the middle ground. C programmers thrive in a world of RTFM and are close enough to the internals that they usually know what the problem is.

    The idea that this is because Javascript and C# are 'hard' is actually fairly laughable.

  40. Re:Good programmers don't use StackOverflow. by spiffmastercow · · Score: 1

    The problem isn't Javascript (though it's certainly not my first choice of languages), it's the DOM. The problem is that there's about 5-10 versions of the DOM that you have to worry about, and you never know how browser X implemented its DOM. I think you've got it backwards -- you get lots of Javascript questions because good programmers get frustrated writing multiple implementations of the same code for each browser, and want to find something that "just works" so they can move on to some more interesting task.

  41. It's JQuery by poifull · · Score: 1

    JavaScript tops the most asked programming language because of the popularity of jQuery.

    "How do I do this in jQuery?"
    "How do I do that in jQuery?"

    Even if you are familiar with JavaScript and HTML DOM, you have to forget what you know and do everything the "jQuery way."

  42. Heavily biased by and for web programmers by Anonymous Coward · · Score: 1

    This is a completely self-serving poll. The site is used heavily by people who are biased towards developing web sites. Here are a better set of polls:
    How many device driver writers program in JavaScript, Virus Broadcast Script (VBS), or COBOL? Not very many.
    How many compiler writers program in languages other than C++? Not very many.
    How many people who create high performance virtual machines implement them in Scheme, Haskell, Ruby, or Python? Probably zero
    How many embedded programmers write in an interpreted language? Probably zero
    How many top500 systems developers write code in an interpreted language? Probably zero.

    Different domains have different requirements; interpreted languages (even with JITs) are okay for some things, but when performance matters, or explicit understanding of device events/characteristics are required, it is difficult to use such. Not impossible, merely very hard. JavaOS _did_ boot on both Alpha and StrongARM...

  43. Different languages, different crowds by mmcuh · · Score: 1

    It's probably more due to the fact that people who use Real Programming Languages (e.g. C, C++ and so on) are more likely to be trained or experienced programmers who usually know what they are doing, while JavaScripters and C# people are a bit more likely to be kids trying to get some webpage working.

    JavaScript on its own isn't hard, it's actually a quite nice language. The DOM thing is pretty awful though.

  44. Dumb units. by 140Mandak262Jamuna · · Score: 1
    I have seen stupid units like "libraries of congress" instead of kB or number of football fields instead of yards or meters, number of buckets instead of gallons.

    But this takes the cake. Why the hell are they expressing correlation coefficient in percentages? It has always been represented as a rational number between -1 and +1. I know people are dropping out of engineering and science courses. Then they come up with their own units and scale for things with well known standard and commonly accepted practices.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:Dumb units. by damian2k · · Score: 1

      I'm probably wrong here but isn't this post just showing a ratio as opposed to a correlation coefficient? e.g. the javascript number of 294% could have been shown as 2.94 but maybe the % gives it a bit more impact?

  45. Re:My take on the C figure by Jeremi · · Score: 1

    C is only particularly dangerous when inexperienced developers just jump in and start writing code without having more experienced developers review what they wrote.

    In other words, C is only particularly dangerous most of the time. :^P

    --


    I don't care if it's 90,000 hectares. That lake was not my doing.
  46. Is this a shocker? by Eskarel · · Score: 1

    Stack Overflow is written in C# and JQuery, you can ask a question about anything on there, but you've always had a better shot of getting or finding an answer if you're looking for a .NET web development related question, if only because the people running the site are more likely to know it. The more likely you are to get an answer the more likely you are to visit the site and provide an answer, so the site is skewed towards that particular technology stack. C# is a nice well designed language whereas Javascript is an abomination, so you end up with a lot more Javascript questions.

    1. Re:Is this a shocker? by gbjbaanb · · Score: 1

      unfortunately you failed to read even the summary!

      The top tag on SO is for C# - which you say must mean C# is an abomination, fair enough. (actually I think it'll be because the .NET framework is rather large, and now becoming susceptible to the usual Microsoft 'obsolete it, replace it and bloat it' process. Therefore it's incomprehensible to most people, thus requiring many more questions on how to do things)

      The article goes on to compare the number of SO questions against the 'language popularity' of TIOBE, and then describes the ratio.

      Also, FYI, the people running SO aren't the ones who answer the questions.

  47. Java or Javascript by kmoser · · Score: 1

    The higher incidents of Javascript questions may be due to n00bs asking about Javascript when in fact they are using Java.

  48. Simpler explanation by Lulu+of+the+Lotus-Ea · · Score: 1

    Most of the comments below--and to a large degree the source article--seem to implicitly assume that all discussion of programming languages happens on Stack Overflow. There probably is some difference in the average experience level of programmer of various languages. But it's also almost certainly the case that OTHER websites also discuss programming languages. For example, someone interested in finding a solution to Python puzzle might well go to the Python Cookbook (http://code.activestate.com/recipes/langs/python/) rather than Stack Overflow. Similarly, to varying degrees, for all the other languages mentioned (with various sites appropriate to each). All this really amounts to is that "Stack Overflow is a good place to find info on languages X, Y, Z; but not so good for A, B, C" ... and this effect is somewhat self-reinforcing, as users of the "underrepresented languages" look elsewhere for help.

    The mere distribution of specialization on various websites says nothing at all about the quality, difficulty, breadth of use, or much anything else about the languages themselves.

  49. I can not believe that this works ;D by angel'o'sphere · · Score: 1

    First of all TIOBE claims to search world wide (which can't be true as they only search in english, but also explains why the results on TIOBE don't look similar to my gut feeling. E.g. C and C++ jobs are very very rare in germany, C is basically only used for embedded programming, C++ is more or less a legacy language meanwhile)
    (From their web site)
    The ratings are calculated by counting hits of the most popular search engines. The search query that is used is
    +" programming"

    Now someone is comparing the TIOBE results with StackOverflow, but a lot of TIOBEs data is very likely based on SO ....

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    1. Re:I can not believe that this works ;D by HopefulIntern · · Score: 1

      C and C++ jobs are very very rare in germany, C is basically only used for embedded programming, C++ is more or less a legacy language meanwhile)

      Recent jobhunting in the UK suggests this is the case here, too. I saw maybe 2 or 3 C/++ jobs advertised. If it isn't web development, then Java is the thing to know. If it *is* web development, it is about a 60/40 split between .NET(C#) dev and LAMP-style* dev, respectively.
      *What I mean with this is, not just limited to LAMP - often using other tech like jQuery, AJAX, etc. - but with LAMP at the core.

  50. Re:Good programmers don't use StackOverflow. by angel'o'sphere · · Score: 1


    Virtually all of the questions asked there can be answered by doing the following:
    1) Reading the documentation of the programming language, library or software in question.
    2) Having even a basic level of skill with the technology in question.

    Sorry mister elite anonymous super hacker, you can not be more wrong, at least for yur point 1).

    Most documentation is just bad, really bad. For someone who likes to learn stuff by himself he has really trouble find what he is looking for.

    E.g. you already know a bit C++ ... just a bit from a one semester university course e.g., now you want to learn Java: so where are your destructors, where is your virtual member function, how do you declare a reference how do you write an conversion operator?

    You see: plenty of easy to answer question which you won'T get answered by searching / reading some Java "documentation" ... because stuff that does not exist is hard to find, stuff that uses different names (member function versus method) is hard to grasp/find etc. etc.

    Now your point 2) comes, sure people who don't know that a member function in C++ is the same as a method in Java, don't know much about the basic concepts ....

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  51. C and C++ have their own forums by satuon · · Score: 1

    Like codeproject, codeguru, daniweb, etc. Stackoverflow is language agnostic with its tags system, and so it attracts a disproportionate amount of languages which don't have their own established forums to compete. For example, I use it if I have questions about python, but when I have questions about C++, I go to codeproject sometimes.

  52. Re:Javascript is for morons by dskzero · · Score: 1

    Did you really throw Java and C together and said "real languages"? Real men who can grow a full beard program in C++.

    --
    Oblivion Awaits
  53. Or.... by hesaigo999ca · · Score: 1

    >Could this also be because programming JavaScript is generally quite difficult and will result in people seeking help more?

    Or it could mean that it is so robust and powerful, that so many people come up with these innovative ways of using a language, to do so many things with, where as Perl, is limited to text manipulations and IO , javascript leverages a browser's DOM completely allowing not only a hacker to take over a user's browser, but a network admin to test his current network setup, and for a programmer to develop quick and pretty websites, to many regular expressions used for parsing data, to .....the list is endless....

    If you ask about another language that has minimal usage in today's day and age....(fill in your favorite low end programming language here)....
    of course less people will respond, leaving you to never return to this site, thereby increasing the questions asked about OTHER programming languages.
    It's a catch 22....the less you get in response , the less you come back, the less questions asked for that language.

  54. Re:Teach it to yourself. TIY? by smartr · · Score: 1

    Sure stack overflow is a great place for people who teach themselves, but I think it's funny to assume stack overflow is the best place to learn a language for oneself online. It seems to me more like the languages best represented there lack sufficient documentation and other means of getting answers. Java, for example, has some nice beginner forums, sites like JavaRanch for more stack-overflow like questions, good free documentation and tutorials, various open source project forums, etc... I mean, we may as well be asking - who is best represented on expertsexchange... I think it just shows a lack of a better open community to get answers from.

  55. Re:Good programmers don't use StackOverflow. by scot4875 · · Score: 1

    1) Reading the documentation of the programming language, library or software in question.

    Personally, I consider the output of a Google/Stack Overflow search to be part of the documentation of the programming language. I'm not sure why someone would choose to ignore a valuable resource.

    If I can find a code snippet that does what I want it to, rather than having to write it from scratch, great. In particular, I'd rather spend my time working on application logic than low level dealings with the OS.

    --Jeremy

    --
    Jesus was a liberal
  56. Better basis for comparison by Jerry+Coffin · · Score: 1

    I'm a bit surprised that while a number of people have pointed out how lousy Tiobe is as an index of popularity, that nobody's pointed to an alternative. I'd suggest langpop.com as a considerably better alternative.

    The most obvious points of superiority are simply documenting what they actually measure and how they combine the individual measurements to produce a final result. Although Tiobe doesn't document enough of what they do well enough to be sure, it looks like langpop.com covers a couple of types of sources that Tiobe doesn't (or at least doesn't imply they try to cover). One particularly interesting point is that they attempt to gather data about actual code, not just questions about code (e.g., they look at Freshmeat, ohloh, and Google Code).

    Oh, and no, I'm not affiliated with Langpop.com (or Tiobe) in any way.

    --
    The universe is a figment of its own imagination.