News for hackers. Stuff that matters.
Re:Top Programming Languages 2022 by Dopameaner on Tuesday August 23, 2022 @12:26PM (#32567286)
Its interesting how the numbers are differnt from Stackoverflow's blog survey of this year. Where Rust leads #1

https://survey.stackoverflow.co/2022/#section-most-loved-dre...

Re:Top Programming Languages 2022 by valbaca on Tuesday August 23, 2022 @12:49PM (#32567624)
It's comparing apples to turntables.

IEEE is a mixed weight of Jobs+Trending.

What you linked to is SO's "most loved" where the question asked is: "Which programming, scripting, and markup languages have you done extensive development work in over the past year, and which do you want to work in over the next year? (If you both worked with the language and want to continue to do so, please check both boxes in that row.)"

As of now, Rust is beloved, but there are few jobs (outside of crypto grifting), especially relative to the hype and relative to other languages, and most projects are 1-person projects or a handful at most.

EDIT: here's a better graph to compare: https://survey.stackoverflow.co/2022/#most-popular-technolog...

Re:Top Programming Languages 2022 by derstander on Tuesday August 23, 2022 @12:34PM (#32567406)
I wonder if the difference in results between the IEEE and Stackoverflow surveys might be due primarily to the different demographics.

You would expect working electrical engineers to more heavily favor languages like MATLAB or R, which shows in the IEEE rankings. But that doesn’t explain Julia being more popular in Stackoverflow, though — unless some working engineers still consider it too experimental for production use?

Re:Top Programming Languages 2022 by batrachos on Tuesday August 23, 2022 @12:37PM (#32567452)
StackOverflow seems to have a new/shiny bias.
Re:Top Programming Languages 2022 by oaiey on Tuesday August 23, 2022 @01:25PM (#32568143)
For sure. Especially the "Spectrum" classification. It even says in the text.
Re:Top Programming Languages 2022 by jstx1 on Tuesday August 23, 2022 @12:46PM (#32567584)
Different methodologies. SO's most loved metric is % of people using the language who want ot keep using it. If you look at the most popular languages (as in used by most people) in SO's survey, the top 3 are JavaScript, HTML/CSS and Python.

As far as IEEE's methodology - it's not even described which makes the whole article kind of pointless.

Re:Top Programming Languages 2022 by Jtsummers on Tuesday August 23, 2022 @01:08PM (#32567890)
https://spectrum.ieee.org/top-programming-languages-methods

It's also described in the original post, but the above goes into the sources used.

Re:Top Programming Languages 2022 by jstx1 on Tuesday August 23, 2022 @01:14PM (#32567983)
This doesn't explain the methodology though, it just lists the sources. I want to know what it means for Python to be 100 and for Java to be 70.22.
Re:Top Programming Languages 2022 by Jtsummers on Tuesday August 23, 2022 @01:23PM (#32568107)
They have three sets of weights to adjust the scores across nine different metrics. Here is their 2021 version which did the same but let you alter the weights yourself (would be nice if they'd still offered it this year, but they had their reasons not to):

https://spectrum.ieee.org/top-programming-languages/

You can see the likely weights they used for the three rankings they show this year.

As to what it means 100 vs 70.22 means, it means that Python got a higher score under that ranking. It showed up in more places.

Re:Top Programming Languages 2022 by tonmoy on Tuesday August 23, 2022 @12:43PM (#32567533)
I wonder if new languages or languages with bad documentation/lack of good textbook would warrant the users to frequent stackoverflow more.
Re:Top Programming Languages 2022 by hashishen on Tuesday August 23, 2022 @12:31PM (#32567366)
good ol cobol still one of the most dreaded
Re:Top Programming Languages 2022 by wongarsu on Tuesday August 23, 2022 @12:49PM (#32567622)
Understandable. There are a number of organizational or technical reasons why a system would use Cobol in 2022, and each of them would be a good reason to dread being assigned to it
Re:Top Programming Languages 2022 by SantiagoElf on Tuesday August 23, 2022 @12:36PM (#32567447)
Strange to see VBA and Objective-C so low on the list.

Worked with both - nothing scary there.

The Fantastic Seven - C#, Python, TypeScript, C++, Go, SQL, F# - covers 99.99% of your programming language needs. :)

Re:Top Programming Languages 2022 by frakt0x90 on Tuesday August 23, 2022 @12:43PM (#32567530)
At least with VBA people are probably scarred by having to modify auto-generated macros, the atrocious error system, GOTOs, and the terrible excel IDE.
Re:Top Programming Languages 2022 by BuckRogers on Tuesday August 23, 2022 @12:57PM (#32567755)
I'll defend GOTOs! Everything is a GOTO, just in a different code construct. I find myself thinking in "GOTOs" all the time, and use bools in nearly the exact same way.

That said, I started programming in the 80s in BASIC and crack a loving smirk when I see a GOTO.

Re:Top Programming Languages 2022 by SantiagoElf on Tuesday August 23, 2022 @02:14PM (#32568862)
And it all boilds down to:

JC JNC JE/JZ JNE/JNZ JO JNO JP/ JPE JNP/ JPO JS JNS JA/ JNBE JAE/ JNB JBE/ JNA JG/ JNLE JGE/ JNL JL/ JNGE JLE/ JNG JCXZ

at the end :)

Re:Top Programming Languages 2022 by marcodiego on Tuesday August 23, 2022 @01:04PM (#32567843)
More modern features like "defer" should be enough to remove the last remaining needs for GOTO; even "try/catch/finally" may be enough for that.