95 points · by lelf · 7y ago · 82 comments
TIOBE Index - https://www.tiobe.com/tiobe-index/
1. Java
2. C
3. Python
4. C++
5. C#
6. Visual Basic .NET
7. JavaScript
8. PHP
9. Objective-C
10. SQL
Language popularity on Github:
https://octoverse.github.com/projects.html
https://madnight.github.io/githut/#/ 1. JavaScript
2. Java
3. Python
4. PHP
5. C++
6. C#
7. TypeScript
8. Shell
9. C
10. Ruby
StackOverflow Developer Survey
https://insights.stackoverflow.com/survey/2019#technology 1. JavaScript
2. HTML/CSS
3. SQL
4. Python
5. Java
6. Bash/Shell/PowerShell
7. C#
8. PHP
9/10 C++ / TypeScript (varies between surveys) 1. Java
2. Javascript
3. Python
4. C#
5. C++
6. PHP
7. C
8. HTML/CSS
9. SQL
10. Shell
11. Visual Basic / Typescript
12. Objective C / Ruby
The above 3 lists merged.If you look at HN you’d think Go and Rust were actually very popular. If I look at the job agents for my country though, there has been one job listing Go and Rust in 2019 and that was under “nice to have” on a C++ job at Google. On the flip-side of this, if you looked at my local job market the list would only contain JAVA, C# and PHP. Well and JavaScript, but that’s typically in the “nice to have” section because no one uses it full stack and it’s easy to learn. If you looked in your area it might be Ruby and Swift.
Python always have massive stats, but around here 80% of the Python jobs aren’t for CS majors but rather for mathematicians and political scientists.
I wonder what these lists are even for. Some of the best paying programming jobs are for COBOL and it’s never in the top 10, if it’s even in the top 100.
† Institute of Electrical and Electronic Engineers
And if you look at Combine list, C and C++ seems to be doing extremely well, but scaling down to specially Web again, C and C++ isn't even Top 20.
Those then are more or less the same in all those sources!
Also, why are bash and Excel missing? They're clearly programming languages in precisely the way HTML is not, and they're clearly a lot more popular than some of the items on the list.
> Below the top 10, some items of note include Arduino at No. 11 and HTML/CSS at No. 12. In previous years, some readers have complained that neither should appear on a list of programming languages. In the case of Arduino, the argument is that there is no such language, that “Arduino” is actually the name of the family of hardware platforms on which the language runs, and that this language should be called Wiring (or sometimes C or C++ for historical reasons). In this, we are led by simple pragmatism: When faced with a programming question, the overwhelming majority of Arduino developers search Google using terms like “Arduino Code for…,” rather than any alternative. By choosing the de facto name, we avoid deeply discounting the popularity of programs written for the Arduino and similar microcontrollers.
>Pragmatism is also the name of the game when it comes to HTML, with the objection here that it is not a real programming language because it doesn’t have branching or loop constructs. But given the huge popularity of HTML and CSS among developers, and the fact that they are used to instruct billions of computers to do things daily, we feel any academic arguments about Turing completeness and so on are beside the point. A markup language is still a language.
Computerphile (popular computing channel on YouTube) made a video on whether HTML is a programming language or not. The professor in the video ((David Brailsford) argues yes (a restrictive declarative language). The commenters mostly disagree:
HTML IS a Programming Language (Imperative vs Declarative):
People don't care for semantics. If you write it and it causes a PC to do something (even if it's just to show a website), it's a programming language. Doesn't need to have branching, variables, etc... (not to mention that HTML includes JS and CSS) print "hello world", <b>hello world</b>, same difference.
Your proposed definition of programming languages includes, as I said, CSV, JPEG, Word, and URLs. Does that mean that anyone who snaps a photo on Instagram is a programmer? This does not seem to be in accordance with the usual meaning of the word "programmer". Is it "programming" to write a dunning letter in Word? It seems to me like a qualitatively different activity.
Programming languages are all more or less equivalent; although they have a variety of paradigms, and although they are supplied with a variety of I/O facilities, you can program more or less precisely the same set of computations in all of them.
Consider the differences between C, Forth, Smalltalk, Prolog, Fractran, Lisp, Brainfuck, Haskell, VHDL, amd64 machine code, and Malbolge: some of these do not even have branching or variables, but they are all programming languages; none of them can compute anything that any of the others cannot.
The exception might be things like Turner's "Total Functional Programming", which excludes nonterminating computations without, he hopes, excluding much of practical interest; Excel, excluding the macro language, also has this limitation, but in Excel it is more onerous.
By contrast, you can't compute so much as a polynomial or NAND in HTML. That is to say, you can't program at all in HTML. So HTML is not a programming language.
English does not include Latin, although, e.g.†, phrases like "inter alia" and "et cetera" can be used in English, and it's not uncommon for an English sentence to quote a Latin motto. Similarly, HTML does not include JS and CSS, just as it does not include the URL specification, and Python does not include SQL or HTML; they are six separate languages.
† exempli gratia
And yet people don't call them "programming languages", while they do call HTML that -- so that even if HTML is not a programming language, there's still a not formally expressed difference that people can intuitively grasp with those other things...
>By contrast, you can't compute so much as a polynomial or NAND in HTML. That is to say, you can't program at all in HTML. So HTML is not a programming language.
You can't program most things in SQL either (not without some modern extensions that make it turing complete), but it is still considered a programming language...
I understand your point that "tt's important to care for semantics in order to have a conversation that conveys information", but I'm of the (e.g. Wittgenstein-ian) school that what matters is not some original/holy definition, but the actual popular usage.
The things you mentioned are usually just data. They are the artifact. They are not generating anything distinct. There is only the data.
> HTML is a specialized language for describing the appearance and content of web pages, often extended using CSS
Hard to take the rest of the report seriously when they don't seem to know what they are talking about.
Also, the title of the report should probably replace "Top" with "Most Popular" as they seem to go by usage, not necessarily the "best" language (which I would have thought with the usage of "top")
Cuda and Lisp being listed as programming languages also further indicates the authors are missing something.
The description of HTML you quote seems fairly correct.
Lisp is definitely a programming language (though, like most, it has a variety of dialects with varying degrees of compatibility). CUDA is more debatable; to me it seems like a different programming language, but CUDA programmers tell me it's just C (or C++). But until 2010, it didn't even support recursion, which seems to me like a pretty basic feature of C. Maybe in 2019 the position that CUDA is a separate language is less reasonable than it was in 2009.
As far as I know, HTML is not extended by CSS but rather complemented by it. HTML for structure and CSS for styling.
Also as far as I know, Lisp is a family of languages, usually Common Lisp, Emacs Lisp, Clojure, Racket, Arc and others. Lisp (the language, not the family) died out and was replaced by others, so saying Lisp nowadays would refer to the family, not the language(s) (LISP 1 & 2)
Note that writing a Word document is not programming, since people are not writing directly in the language, instead Word generates the code for them. What people see in Word is not a language since it doesn't have a textual representation, and people don¨t write word files directly in docx format.
The ranking shown on the linked article shows a weighting that's deemed to be relevant to IEEE Spectrum readers, which have a focus on Electrical Engineering.
Setting the weighting to be 100% Hacker News, Ladder Logic ends up in the middle and JavaScript is nearly at the bottom. Like most other Top X programming articles, this one should be treated as a bit of fun and shouldn't heavily inform your choice of language.
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.
Virtuall all industrial control and systems engineering is written in matlab.
A big chunk of scientific and engineering code is written in matlab.
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.
https://redmonk.com/sogrady/2019/07/18/language-rankings-6-1...
There top 10 is:
1. JavaScript
2. Java
3. Python
4. PHP
5. C++
5. C#
7. CSS
8. Ruby
9. C
10. TypeScriptI got in touch with Python in the 90s but back then it did not convince me. Later in the 90s Perl was much more attraktive (because of Regexes and later because of CPAN).
In the early 2000s Python was a better alternative to Perl given all the basic data structures (Perl‘s nested lists were using pointers; how unintuitive for a high level language), Perl‘s module system wasn‘t intuitive amd beautiful either. Finally I could not write large systems in Perl because I of many reasons. So I tried Python, and it immediately replaced Perl for me.
Later Ruby seemed very attractive (for someone who was heavily influenced by Scheme and SICP). But Python seemed to have more momentum. So I played around with Ruby, but always stayed with Python for serious tasks.
Now, twenty years later I know there are many other programming languages who are more beautiful in my eyes (functional, for instance Elixir), but I absolutely love working with Python: its elegance, its ecosystem, community, resources. I can tackle all sorts of problems with it. And it seems it will be around in the next twenty years.
>>> x = [[3, 4], 5]
>>> y = [6, x[0]]
>>> y[1][1] = 7
>>> x
[[3, 7], 5]
Octave and Tcl are the exceptions here, and of course in Racket (and maybe in Clojure?) the pointer semantics aren't visible as they are above, but do affect performance.I like Python a lot (I edited the Weekly Python-URL for a while) but it took me longer to switch to it --- most of 2000 and 2001, really. I still occasionally reach for perl for quick command-line things.
Yes, there are even more efficient languages out there, that can do much more with less lines of code, but I feel that Python is just verbose and...well, pseudocode-ish that pretty much anyone with a certain level of coding can read it, and get working.
I've noticed that schools have started using Python more and more for entry-level programming classes, so I guess that means more time spent on problem solving, and less time fighting the language.
When I was student, the majority of CS classes I took were in plain C. I remember Data Structures and Algorithms being quite a hurdle, simply because much of the time went to tacking C.
If you select any single crosstab (under "create custom ranking"), you can see the data is mostly bogus.
Looking at "Google (trends)", PHP is at #48, below Perl (#37), Delphi (#40) and Fortran (#41) - here's the actual data: https://trends.google.com/trends/explore?q=perl,php
For "Github (active)" PHP places at #7 below Dart (#2) and Julia (#3) (which contradicts GitHub's own stats: https://octoverse.github.com/projects#languages).
For "Hacker News" it's at #51 (which makes little sense given the number of PHP-related articles posted here).
Also, Swift is still less popular than Objective C, but SwiftUI should soon change that.
For example, for web dev, the echo system of js make it the lang of choice. For cloud native/system prog , go lang. For ML - python.
Those ranks are meaningless.
For me, I use Python for dirty scripts, as well use C# for exploit development, it is very hard to conclude on a topic that is highly subjective.
That is the #1 language that all these others are built on, and it has remained #1 year in and year out for 80 years (it appeared on the list in the late 1600’s, rose to #1, and has sat there ever since).