Slashdot Mirror


Which Programming Language Is Most Popular - The Final Answer? (zdnet.com)

An anonymous Slashdot reader writes: Following a common technique among political pollsters, a technology columnist combined the results from various measures of programming language popularity for a more definitive answer about the most important languages to study. He used IEEE Spectrum's interactive list of the top programming languages, which lets you adjust the weight given to the number of job listings and number or open source projects, then combined it with the TIOBE Index (which is based on search engine results), and the PYPL Index, which checks the number of tutorials for each programming language on Google.

The results? "The top cluster contains Java, C, Python, and C++. Without a doubt, you should attain familiarity with these four languages." He points out they're not tied to a specific programming platform, unlike languages in the second cluster -- JavaScript, C#, PHP, and Swift -- while the last two languages in the top 10 were Objective-C and R. "The C-family of languages still dominates. Java, C++, C, C#, and even Objective-C are all C-based languages. If you're only going to learn one language, you should pick one of those." But his ultimate advice is to "learn multiple languages and multiple frameworks... Programming is not just an intellectual exercise. You have to actually make stuff."

7 of 401 comments (clear)

  1. This again? by Dunbal · · Score: 5, Insightful

    Seriously Miss Universe is only once a year. Yet I'm seeing "which is the most popular language" every month or so here. Who gives a shit? Certainly not your CPU. It all gets compiled down to assembly anyway. THAT is the most popular language, even if few humans code in it nowadays all computers read it.

    --
    Seven puppies were harmed during the making of this post.
    1. Re:This again? by Anonymous Coward · · Score: 5, Insightful

      "Assembly" is not a programming language. Rather, there is at least one "assembly language" for each CPU instruction set

      An assembly language you say?...so humans can program in it? Kind of like a programming language?

      More importantly, compilers rarely produce any kind of assembly language any more

      They do if you pass the -S flag.

      Every CPU executes instructions in a machine language. There are several such languages in common use, most importantly those understood by the x86 and ARM families.

      Yeah, computers execute machine code, assembly is the language humans write to generate machine code. Thanks.

    2. Re:This again? by jellomizer · · Score: 4, Insightful

      Well developers should be concerned about that.
      If you are a Perl Programmer, or Ruby programmer, and you see that your favorite language is falling off the list, perhaps it may be important to your career to brush up on the popular languages. I myself rarely do C or C++ programming, mostly Python, C# and Java. However every once in a while I will do and do some C/C++ coding on it to see what is new and discover things that I had learned in other languages had also been in C/C++ or was recently added to it. While my professional work, doesn't need me to use C/C++ knowing that it is still a popular language means I should keep up some practice in it.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    3. Re:This again? by jellomizer · · Score: 4, Insightful

      Assembly isn't hard, however it is tedious. You have a relatively small set of commands that do simple things. So for example if you want to print something. You will need to assign the memory address/registers for your text, populate that memory address with the data. Tell where it will look for that set of data, then call the interrupt that will have the video processor turn your string to text.

      or you can use printf that does all that, and more for better performance, as it can buffer the data set and display the data more efficiently. Because the person who wrote the printf probably spent a lot of time to get that command right, while if you are working on your own app. You probably don't have the time to recreate all that work for a simple result.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  2. Re:What about English? by ShanghaiBill · · Score: 5, Insightful

    English can, and should be, logically structured. Is its complexity that is holding back from the use by the masses?

    English can be precise if you choose your words carefully. But you will soon find that you are saying or typing WAY more than if you used a real programming language to do the same thing.

    Would you rather type: for (int i = 0; i < 10; ++i) {

    Or: Using an integer with at least 32 bit precision initialized to zero, test if the integer is less than 10, and if so perform the specified task, and then increment the integer, and repeat the test.

    Which would you rather debug?

    Do you think mathematicians should also eschew mathematical notation?

    Do you think chemists should describe molecules in English, rather than using formula or diagrams?

  3. Re:What about English? by EmeraldBot · · Score: 5, Insightful

    I would rather use the language that enables the most users to instruct their computers on what they want done. Stupid battles over curly braces and punctuation does nothing to further this goal. Humans have understood how to interpret human language, it is high time we taught our machines to do the same.

    You completely dodged his point. Seriously, go to a mathematician sometime, tell him to write everything in pure English. None of this quadratic stuff, we only live for "x equals minus b plus or minus the square root of b squared plus 4 times the value of a times c divided by the value of 2 times the value of a". Because that's much more accessible and readable than some scratch marks, clearly.

    Next up will be the elimination of slang, yes?

    --
    "Set a man a fire, he'll be warm for the rest of the night. Set a man afire, he'll be warm for the rest of his life."
  4. Re: What about English? by arth1 · · Score: 3, Insightful

    It should not take a PhD to ask a machine to sum 1 + 1.

    (Presuming you meant "calculate 1 + 1" or "add1 and 1")
    It doesn't take a PhD. It doesn't take any education at all. Most kids these days know how to do that in multiple languages.

    But the problem is that the English or any other spoken language isn't formal.
    In the above calculation, what did you mean by 1? An abstract integer? A cardinal number? A measure between 0.5 and 1.5?
    And what is it supposed to do with the result of the above calculation? You didn't specify, so did you want it to discard the result? Execute it? Present it to you? How, exactly? Visual, audible, or tactile? As binary? With uncertainties like 2 +/- 1?
    And what should it do after that? Stop? Halt? Redo? Run NOP cycles until the cows come home? You didn't say.

    You have to be explicit and not ambiguous when you tell a computer to do something. We humans try to guess what you mean from the context, but a computer doesn't have that luxury. You have to provide the context. Doing so is much easier in a programming language than in English. Programming languages have a well-defined context, and you know what an instruction sequence will do. The languages are designed to avoid ambiguity.

    With human languages, you don't. You have to guess from context.
    If your wife says "lay down on the bed", you don't cut open a pillow and start to lay little feathers on the bed. You second-guess her and presume she meant "lie on the bed for an unspecified period of time".
    And if you say "make me one with everything", you expect different results depending on whether you address a hot dog seller or a zen master.
    Context is everything. And the computer doesn't have your context unless you first feed it to it.