Slashdot Mirror


C Isn't The Most Popular Programming Language, JavaScript Is (networkworld.com)

An anonymous reader quotes Network World: U.K.-based technology analyst firm RedMonk just released the latest version of its biannual rankings of programming languages, and once again JavaScript tops the list, followed by Java and PHP. Those are same three languages that topped RedMonk's list in January. In fact, the entire top 10 remains the same as it was it was six months ago...
Python ranked #4 on RedMonk's list, while the survey found a three-way tie for fifth place between Ruby, C#, and C++, with C coming in at #9 (ranking just below CSS). Network World argues that while change comes slowly, "if you go back deeper into RedMonk's rankings, you can see slow, ongoing ascents from languages such as Go, Swift and even TypeScript."

Interestingly, an earlier ranking by the IEEE declared C to be the top programming language of 2016, followed by Java, Python, C++, and R. But RedMonk's methodology involves studying the prevalence of each language on both Stack Overflow and GitHub, a correlation which "we believe to be predictive of future use, hence their value."

28 of 241 comments (clear)

  1. CSS? by Khyber · · Score: 5, Insightful

    CSS is hardly a programming language. Thus, RedMonk can be safely ignored.

    --
    Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
  2. Javascript by damiantgordon · · Score: 2, Insightful

    Is this a joke??? JavaScript is a SCRIPTING Language, not a PROGRAMMING language.

    1. Re:Javascript by chrism238 · · Score: 4, Insightful

      Unusual distinction that you make. So where do you stand on the languages Python, the Unix shell, Tcl/Tk, ..... ?

    2. Re:Javascript by damiantgordon · · Score: 2

      Python is a programming language Unix shell e.g. Bourne, is a scripting language Tcl/tk is a scripting language Nothing unusual about this...

    3. Re:Javascript by narcc · · Score: 2

      There's no real, objective, distinction. Neither is there a need to make such a distinction. It's an impossible task that serves no purpose.

      You're wasting an awful lot of outrage on completely meaningless nonsense. Let it go. You'll feel better.

    4. Re:Javascript by ShanghaiBill · · Score: 2

      Look at Wikipedia:
      https://en.wikipedia.org/wiki/...

      Perhaps you should look at that page yourself. This is the very first sentence (emphasis mine):

      This category lists scripting programming languages.

      "Scripting" and "programming" are not two different things. Scripting is programming.

    5. Re:Javascript by angel'o'sphere · · Score: 3, Insightful

      All scripting languages are programming languages.
      And considering how JavaScript is used, it is hardly a scripting language anyway. The word "Script" in its name is misleading.
      If you want to argue about Scripting languages than ksh, bash, TCL, JCL are scripting languages, JavaScript is far from those in every regard.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    6. Re:Javascript by narcc · · Score: 3, Funny

      I figured it out. Languages he likes are programming languages. Languages he doesn't like are scripting languages.

  3. This probably overlooks embedded development by El+Cubano · · Score: 5, Insightful

    But RedMonk's methodology involves studying the prevalence of each language on both Stack Overflow and GitHub, a correlation which "we believe to be predictive of future use, hence their value.

    I know smartphones are all the rage, but there are tonnes of old school embedded devices out there and tonnes more still being developed. By old school I mean run on some embedded-type CPU or ASIC, run some custom OS, and only have a C compiler available (probably the one written by the team that bootstrapped development of the initial version of the device).

    I doubt that developers working on those devices regularly post their code to GitHub and fairly positive that not many of them would post to StackOverflow asking how to make a flubord close with a genie effect on Ubuntu using clang when there is a PS/2 mouse connected.

    A methodology that relies on GH and SO posts is likely to be strongly biased toward new web-based and open source development.

    1. Re:This probably overlooks embedded development by phantomfive · · Score: 2

      A methodology that relies on GH and SO posts is likely to be strongly biased toward new web-based and open source development.

      Indeed. Back when langpop.com was still around, they collected data from as many different places as possible. Google search, the equivalent of Github at the time, book sales, job search sites, etc. The different sources had drastically different results, enough to say that selecting from any one of them (especially Github) is not representative.

      --
      "First they came for the slanderers and i said nothing."
    2. Re:This probably overlooks embedded development by Anonymous+Brave+Guy · · Score: 2

      Well, I don't have hard data to hand, but it's obvious that you're dramatically underestimating the scale of the embedded software industry. Don't feel bad, almost everyone who's never worked in it does.

      The reason I say it's obvious is that you have the common misconceptions that Linux-based systems represent the majority of embedded development and that most embedded software could be written by a single person. While Linux is certainly gaining popularity for some larger and more powerful devices today, there's a huge amount of things that don't use Linux but do run code, and some of those devices have code bases running to millions of lines and large development teams working on them.

      You're probably reading this on a screen. Are you also wearing a digital watch? Did you turn off an alarm system when you got to work this morning? Is there a phone on your desk or in your pocket? Is there an air conditioning system in your office? A microwave in the kitchen? How many different components that run their own firmware do you think are inside each of those systems?

      Those are just a few obvious ones you can probably see right now. Once you get into more complex systems like industrial infrastructure or cars, the numbers are much bigger still, often with many different programs running as part of the overall system.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  4. Depends on what "popular" means by jb_nizet · · Score: 2

    I certainly write some JavaScript. But it doesn't mean I like it, or even that I chose to. I just don't have the choice. Sure, I can (and do) use TypeScript or CoffeeScript, but they all suck and I would choose any type-safe language over them if I could. JavaScript is unfortunately the only language that the browsers support. I really hope that WebAssembly becomes a real, usable thing soon, and that better type-safe languages for the browser emerge. Or even better: that existing languages, like Kotlin, start targetting it and that a saner ecosystem emerges around it. I'm sick of JavaScript, and even more of its awful ecosystem (NPM, etc.)

    1. Re:Depends on what "popular" means by Wrath0fb0b · · Score: 2

      You're right that the only sane option is to use a language that 'compiles' into Javascript. TypeScript supports static typing and might fit your bill.

      Hopefully DART will get off the ground soon.

  5. Re:No by saloomy · · Score: 3, Informative

    Javascript, OK. PHP yes, and Java Yes. How the hell is CSS a programming language?? Is a conf file a language? If writing a document (like HTML) is a language, then Excel is probably the most popular, followed by MS Word.

  6. I still believe IEEE more by godrik · · Score: 4, Interesting

    Clearly, IEEE has more experience and is more believable. (And yes, I am an IEEE member, but that does not really biais me.) The methodogy used by IEEE spectrum is public [1]. And it also takes stack overflow and git hub as indices. Though that is not the ONLY thing it uses.

    There is a saying in data mining: I'd rather have more data than a better algorithm.

    [1] http://spectrum.ieee.org/ns/IE...

  7. The hammer or the screwdriver? by swillden · · Score: 3, Insightful

    Programming languages are all general-purpose in some important senses, since they're all Turing Complete, but in practice they tend to have rather well-defined contexts and purposes. In a lot of ways I think asking "Which is the most popular programming language?" is a lot like asking "Which is the most popular hand tool?". The question doesn't make a lot of sense without some context.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  8. YAUPLR by prefec2 · · Score: 2

    Yet another useless programming language ranking. First they do not define what most popular means. The text suggests it means the most used language. In embedded systems it is C and C++. As embedded systems are a super widespread typenof system a lot of programmers are required. Hence it is very popular there. In contrast JS is only relevant for UI and lately small nodejs services. Most stuff in the internet runs different engines. Counting projects on github only shows the number of free or at least fancy projects , but no embedded company or other larger SW company is storing their intellectual property in the US and with an external service.

  9. And crayons are the most popular painting tiool. by rrohbeck · · Score: 3, Funny

    I wonder why.

  10. misleading headline by brasselv · · Score: 4, Insightful

    it's a case of misleading headlines (yeah, shocking)

    as others have pointed out, the authors don't make any claim that their list represents the 'most popular languages', just that those languages enjoy particularly high visibility on two specific platforms - github and stack overflow.

    you have a virtually infinite number of ways to count "popularity", some more useful than others, but each of them inevitably somewhat arbitrary.
    last time I checked, oracle claimed java to be the world's most popular language, and by the way they measure it, they must be right.
    heck, you could instead count each web pageview with one line of js as instance of 'program execution', count the big number and have a different winner. don't take it too seriously.

    --
    "Whenever people agree with me I always feel I must be wrong." (Oscar Wilde)
  11. Re:Laungauges by myowntrueself · · Score: 2

    Javascript is a "programming language"?

    Yes, it is.

    So when do we see an OS written in Javascript controlling all aspects of a pc's motherboard, processor etc?

    Irrelevant to whether something is a programming language or not.

    Some fool is bound to write a virtualization system in Javascript one of these days. Then they can implement an operating system written in Javascript on their virtualization system.

    Is there a hardware Javascript engine?

    --
    In the free world the media isn't government run; the government is media run.
  12. Re:And crayons are the most popular painting tiool by Anonymous Coward · · Score: 3, Funny

    "Crayola's methodology involves studying the prevalence of each art type on both refrigerator doors and classroom windows, a correlation which "we believe to be predictive of future use, hence their value."

  13. Re:Laungauges by StueyNZ · · Score: 2

    Some fool is bound to write a virtualization system in Javascript one of these days.....

    A determined fellow did (well nearly, it's a PC emulator in JS - that runs Linux)

  14. Red who? by geoskd · · Score: 3, Insightful

    Python ranked #4 on RedMonk's list, while the survey found a three-way tie for fifth place between Ruby, C#, and C++,

    Their methodology according to the link is to scan github and sourceforge and determine what frequency those projects use what languages. This is absolutely asinine, as it completely precludes all closed source work. Most embedded systems, drivers, and other low level work is not going to be open source, as it is work for hire. This list can best be described as the ranking of the popularity of languages for peoples pet projects, and or what languages they use when not getting paid. I will also say that given the choice between a website with only a dozen years of existence vs IEEE with almost 100 years of existence with an interest in all things electronic and computing, I will go with IEEE every time. Sorry RedMonk, its just hard to take you seriously when you are clearly some guys blog, and you're competing with an international professional organization with membership measured in the millions and decades of exceptional science and technology reporting.

    --
    I wish I had a good sig, but all the good ones are copyrighted
  15. Re:JavaScript rules! by angel'o'sphere · · Score: 3, Interesting

    JavaScript is the only class less, prototype based programming language in wide use.
    So it is an extremely powerful language with arguable a bit painful syntax (to exploit those features).
    On the other hand, as long as you don't really want to dig deep into it, it is just like C without types.
    // assuming length, src and dst are arrays declared somewhere
            for (/* int */ i=0; i < length; i++) {
                  dst[i] = src[i]; // semicolon optional
          }

    90% of JavaScript just looks like C, so no idea why people hate it.

    OH!! You mean the integration in the browser? Yeah ... never did any browser side JS, and likely never will.

    You know, in JS you can "call" a function just like in C.
    But you can also "new" it, and have an object ... an instance of the "class" the function is describing, with nested functions (unlike C ;D ) as methods.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  16. Re:Laungauges by angel'o'sphere · · Score: 2

    It would be inefficient as hell of course ...
    Most modern JavaScript engines JIT compile to extremely efficient machine code.
    It is very close to C and other "close to the machine" languages.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  17. About matches my experience by blindseer · · Score: 2

    I've been looking to return to programming after years of doing firmware development, doing some IT work since, and now going back to school to update my skills. In order to see what I should focus on in school I've been looking at what languages are seen most often on job postings. In no particular order I see JavaScript, SQL, PHP, Python, and Perl at the top of my list. There's some demand for C++, C#, and Ruby. I'll see some demand for things like R, Matlab, and some statistical tools, but those seem to be jobs at the local university which should not be a surprise.

    What I've figured out is that there is demand for people that can program web based applications. This means JavaScript and its various libraries, PHP, Python, and perhaps some Java and C++. If we are stretching the programming languages a bit then we get into things like HTML, XML, CSS, and other markup languages. Looking at the programming course I have this fall I see it will be taught using Java, Ruby, or Scala. I don't recall even seeing Scala until today so this could be interesting.

    --
    I am armed because I am free. I am free because I am armed.
  18. Re: Widely used != popular by angel'o'sphere · · Score: 2

    or changed a method signature in one place but not the passed in objects in all usages
    Learn to use an IDE?

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  19. Re:JavaScript rules! by MillionthMonkey · · Score: 4, Funny

    JavaScript is a lot like Hillary- it's been around for decades, nobody is terribly impressed by it, everyone is tired of it, it's weakly typed, it's just barely tolerable, it's only around because of historical accidents in the nineties, and although it has its diehard fans, most people just grumble with it and put up with it. But it will continue to prevail for years because at this point there simply is no viable alternative.