The 2018 Top Programming Languages, According To IEEE (ieee.org)
New submitter rfengineer shares a report: Welcome to IEEE Spectrum's fifth annual interactive ranking of the top programming languages. Because no one can peer over the shoulders of every coder out there, anyone attempting to measure the popularity of computer languages must rely on proxy measures of relative popularity. In our case, this means combining metrics from multiple sources to rank 47 languages. But recognizing that different programmers have different needs and domains of interest, we've chosen not to blend all those metrics up into One Ranking to Rule Them All. [...] Python has tightened its grip on the No. 1 spot. Last year it came out on top by just barely beating out C, with Python's score of 100 to C's 99.7. But this year, there's a wider gap between first and second place, with C++ coming in at 98.4 for the No. 2 slot (last year, Java had come third with a score of 99.4, while this year its fallen to 4th place with a score of 97.5). C has fallen to third place, with a score of 98.2.
Every time that Python is mentioned someone raise the point about whitespace. Yes it is annoying when first learning the language, but within a few hours you have totally forgotten about it. Python has other issues, but whitespace is the one people always initially focus on, unless you are in the habit of cut and pasting code from any or every where without using discrete code blocks, then it really is not that much of an issue.
> So what are the Top Ten Languages of 2018, as ranked for the typical IEEE member and Spectrum reader?
Their membership must be a very niche market for R to outrank JavaScript in "popularity".
The article admits that different languages are used for different things. It's like making a list of "top vehicles", including cars, trucks, ferries, cargo container ships, and airplanes. Yet they go right ahead and still create a master ranking, because they can't help themselves. And we can't help but froth about it, which is the entire damn point for all of this.
It's hard to get too frothy when my own language of choice, C++, is near the top, but my own view tends to be incredibly myopic, as I work in the game industry, and C++ absolutely dominates there.
Irony: Agile development has too much intertia to be abandoned now.
I disagree to a certain extent. Once you've set up your IDE, it's fine, but my main problem is that whitespace is significant. Why should I have to care how many indents there are? At least with C/C++ I can search for a '{' or '}'. You can't search for missing whitespace. Again, a well-set up IDE highlights and lines up brackets or whitespace, but whole concept is bad design in my opinion. For example, I like 2 spaces for tabs for tighter indentation, but I can't do that in Python because the language designers decided that 4 spaces is exactly right for everyone. That type of thing shouldn't be inherent in the language design. I do think Python gets a bad rap because it's so easy to use and so bad programmers don't have a high barrier to entry to writing their terrible code. In my experience, you can write good code in Python. There are many things it's not great at, but it's a useful tool.
And likely creating all the security holes that make the internet the wild, wild west that it is. Thanks bud.
Handing a good language to a bad coder doesn't result in better code. I've seen plenty of security holes in any language.
Why should I have to care how many indents there are? ... For example, I like 2 spaces for tabs for tighter indentation
Nowhere a hint of irony. *sigh*
You shouldn't have to care about indentation. And when there's a standard, you don't have to.
Complaints about whitespace are literally the most superficial complaint about a language possible. And honestly, when people start in with complaints about whitespace, I know immediately that they aren't going to have anything of value to contribute.
Arguing about how much your code should be indented is nothing more than bike-shedding. People express opinions about the things they understand. Arguing about indentation tends to illustrate the extent of your understanding.
https://www.tiobe.com/tiobe-in...
https://insights.stackoverflow...
Ok, Damn kids get off of my lawn. I started C on a PDP-11-40 running Unix V6 in 1976. Over the years I have written, read, and re factored probably millions of lines of C. One more common error seen over the years is to forget the braces around an if-then clause or a while statement or some such.
while (something is needed) ...
do something;
do something 2;
do stuff after the loop;
The funny thing is that the braces may have been forgotten, but the indentation was usually correct for the intent of the code. Python simply recognised this issue and made the indentation master rather than the braces because the indentation was correct more often than the braces.
I love C, but Python got this bit correct.