News for hackers. Stuff that matters.
Re:Top Programming Languages 2019 by andreygrehov on Saturday September 07, 2019 @12:23PM (#20904751)
R above JavaScript? Matlab above Go? Something tells me that the ranking algorithm is broken.
Re:Top Programming Languages 2019 by markus92 on Saturday September 07, 2019 @12:58PM (#20904992)
I looked a bit at the ranking weights in the interactive tool. The biggest factor is IEEEXplore, the repository of all of their journals. R and Matlab are used a lot in science, whereas no one is going to do a signal denoising algorithm prototype in JavaScript for example.
Re:Top Programming Languages 2019 by kragen on Saturday September 07, 2019 @05:25PM (#20906617)
> no one is going to do a signal denoising algorithm prototype in JavaScript for example.

This has been a big problem for me in Dercuano; the notes in it about signal processing and circuits vary between impenetrable and handwavy (and, in the worst cases, both) in large part because I'm doing my prototypes in IPython with Numpy or in Falstad's circuit.js, and there's just no reasonable way to include that in Dercuano itself. So I'm trying to figure out how to make prototyping signal processing algorithms in JS a reasonable thing to do. I don't expect to have feature parity with Octave, but I feel like it should be possible to improve on the VT100-based user interface featured even by Octave and Rstudio, and offer equal or better performance and enough conveniently accessible features that it's practical for at least what I'm doing.

Re:Top Programming Languages 2019 by analog31 on Saturday September 07, 2019 @12:42PM (#20904870)
I wonder if this reflects the interests of electrical engineers, since they talk about weighting their results for the typical IEEE Spectrum reader.
Re:Top Programming Languages 2019 by kingkongjaffa on Saturday September 07, 2019 @03:15PM (#20905867)
Matlab is 100% used more than Go.

Virtuall all industrial control and systems engineering is written in matlab.

A big chunk of scientific and engineering code is written in matlab.

Re:Top Programming Languages 2019 by tutfbhuf on Saturday September 07, 2019 @03:41PM (#20906022)
I would say there exist more Matlab code than Go code, however I think Go is much more popular among all developers.
Re:Top Programming Languages 2019 by seanmcdirmid on Saturday September 07, 2019 @04:25PM (#20906279)
A lot of people using Matlab aren’t developers.
Re:Top Programming Languages 2019 by kragen on Saturday September 07, 2019 @04:56PM (#20906466)
Do you mean they run Matlab programs but do not edit them? I don't think those people are being counted, are they? If they develop programs in Matlab it seems to me that tautologically they are developers, even if, like Con Kolivas, that isn't their job title.
Re:Top Programming Languages 2019 by seanmcdirmid on Saturday September 07, 2019 @05:00PM (#20906481)
A lot of people who write programs aren’t doing software development, they aren’t developers. Unless your definition of developer is one who programs (which is already covered nicely by the term programmer, but to each their own).
Re:Top Programming Languages 2019 by kragen on Saturday September 07, 2019 @05:25PM (#20906622)
I'm not familiar with the distinction you're making; would you like to elaborate?
Re:Top Programming Languages 2019 by seanmcdirmid on Saturday September 07, 2019 @05:32PM (#20906664)
One whose career is focuses on building software vs. one who programs sometimes as part of their job that is otherwise not focused on building software. Most of us on HN are in the former category, but there are tons of people in the latter category as well.
Re:Top Programming Languages 2019 by kragen on Saturday September 07, 2019 @05:58PM (#20906821)
I see. Well, it's true that lots of Matlab programmers have something other than programming as their job, maybe most of them. I don't think this makes the activity fundamentally different; a baby is still a baby, whether delivered by a doctor or by a midwife, and birthing is still birthing. But you are certainly free to call it by a different name if you like.
Re:Top Programming Languages 2019 by seanmcdirmid on Saturday September 07, 2019 @07:40PM (#20907455)
It has a huge influence on the language being used. There are simply many kinds of “programming”, and thinking about it as a homogeneous activity is just going to yield ridiculous PL popularity lists that compare apples and oranges.
Re:Top Programming Languages 2019 by kragen on Saturday September 07, 2019 @08:17PM (#20907631)
It certainly does have a huge influence on the language being used, as do things like living in Nigeria, writing code to run on on-orbit satellites, and working at Microsoft. But I wouldn't venture to say that Nigerians, Microsoft employees, and space cadets are therefore not doing "software development", just that they're doing it under atypical circumstances. (And, as that list suggests, in the end all of us have some atypical circumstances.)

I do agree that people frequently overestimate the homogeneity of programming, and that this homogeneity makes such lists less useful. Still, I think it's a useful observation that in 1985 Paul Lansky was writing music in FORTRAN and electrical engineers were writing circuit simulators in FORTRAN, while today musicians tend to do their software development in PureData or something similar, while electrical engineers tend to use MATLAB, Octave, C++, or Python. And I think part of the nature of software development is that it's typically a highly collaborative activity --- a library written by an electrical engineer can be used by a musician, but usually only if they're using the same programming language.

Re:Top Programming Languages 2019 by 6thaccount2 on Saturday September 07, 2019 @12:44PM (#20904884)
I'd bet Matlab has more use than you think.

Most engineering students use it, as well as some in math and physics. It is also popular in various aspects of industry (Ex: automotive and aerospace) for prototyping and simulations.

Re:Top Programming Languages 2019 by kragen on Saturday September 07, 2019 @04:57PM (#20906467)
Fifteen years ago basically all of my scientist friends used Matlab. Now a lot of them have switched to Python.
Re:Top Programming Languages 2019 by 6thaccount2 on Sunday September 08, 2019 @10:39AM (#20910838)
Very true, but a lot of folks (think researchers who have been using Matlab for over a decade) might not have the time or desire to learn Python and rewrite their Matlab code or manage two code bases.
Re:Top Programming Languages 2019 by kragen on Sunday September 08, 2019 @02:18PM (#20912292)
That's true.