We need to start ranking languages based on what people use them for. Python is certainly #1 in ML, for example, but far from #1 in web. I had a "which stack" argument with a client recently for a web server processing tons of data. He wanted to use Node (which I hate, but also use when performance doesn't matter because TypeScript is so good). I showed him that the Node library ecosystem is actually pretty weak (man…
Python overtakes Java to become the second-most popular programming language
61–70 of 357 posts
Re: Python overtakes Java to become the second-most popular programming language
#62We need to start ranking languages based on what people use them for. Python is certainly #1 in ML, for example, but far from #1 in web. I had a "which stack" argument with a client recently for a web server processing tons of data. He wanted to use Node (which I hate, but also use when performance doesn't matter because TypeScript is so good). I showed him that the Node library ecosystem is actually pretty weak (man…
Just curious, what other server side languages do you feel have a better library ecosystem than Node/JS?
Re: Python overtakes Java to become the second-most popular programming language
#63We need to start ranking languages based on what people use them for. Python is certainly #1 in ML, for example, but far from #1 in web. I had a "which stack" argument with a client recently for a web server processing tons of data. He wanted to use Node (which I hate, but also use when performance doesn't matter because TypeScript is so good). I showed him that the Node library ecosystem is actually pretty weak (man…
Re: Python overtakes Java to become the second-most popular programming language
#64Python is certainly popular, but the TIOBE Index ranking is not credible. Quote: "The ratings are based on the number of skilled engineers world-wide, courses and third party vendors. " According to this index, "Logo", beats out Rust, Scala, Kotlin, and Cobol. I cannot remind myself when I last time saw a course, book or even any source code covering Logo. This must be some very poorly vetted, automatically collected…
They rank C number 1. There is no way that reflects reality. JavaScript is easily number one for reasons that will surprise nobody. On the WakaTime public leaderboards it dominates to such an extent that I think programmers spend more time writing JavaScript than all the other languages combined. I don't know if that generalizes to the broader population, but it gives one an idea how ubiquitous it is.
Re: Python overtakes Java to become the second-most popular programming language
#65We need to start ranking languages based on what people use them for. Python is certainly #1 in ML, for example, but far from #1 in web. I had a "which stack" argument with a client recently for a web server processing tons of data. He wanted to use Node (which I hate, but also use when performance doesn't matter because TypeScript is so good). I showed him that the Node library ecosystem is actually pretty weak (man…
Just curious, what other server side languages do you feel have a better library ecosystem than Node/JS?
Re: Python overtakes Java to become the second-most popular programming language
#66Earlier quoted context omitted.
That C is supposed to be the most popular language makes the whole ranking questionable. The stackoverflow ranking[1] corresponds much more to my own experience in real life. [1] https://insights.stackoverflow.com/survey/2020#most-popular-...
On the other hand the stackoverflow survey might show that C is so simple that programmers using it don't need stackoverflow :)
Re: Python overtakes Java to become the second-most popular programming language
#67Re: Python overtakes Java to become the second-most popular programming language
#68Earlier quoted context omitted.
That C is supposed to be the most popular language makes the whole ranking questionable. The stackoverflow ranking[1] corresponds much more to my own experience in real life. [1] https://insights.stackoverflow.com/survey/2020#most-popular-...
I'd argue that StackOverflow shows what developers have the most questions about. This means that ranking is influenced by the amount of experience people have in the programming field, and leads to languages people commonly use as their first languages showing higher. Besides that it's also influenced by how good the language is at explaining to the user what is going wrong. Clear error messages mean the user uses S…
Re: Python overtakes Java to become the second-most popular programming language
#69Earlier quoted context omitted.
I’ve used PyCharm from time to time and I find it great but I kind of feel like you need a different approach. Coming from Java it made sense but Python is a different mindset once you get into it. I think you’re far better off treating Python as a highly structured scripting language and using an advanced text editor. I’ve come to believe that these very powerful IDEs are a kind of a window dressing that makes the m…
Although arguably a more 'difficult' language I sleep much better at night when using Rust, because Python is always in a hurry to get a wrong program running. So then, one has to test like hell. So I feel I'm still ahead of the game.
EDIT - just want to add: I'm not au fait with the specifics of Rust but I presume from what I've heard about it that it also supports my position, as an advanced language, that the features you need are in the language so a heavy-weight IDE isn't so necessary.
Re: Python overtakes Java to become the second-most popular programming language
#70Earlier quoted context omitted.
I love dataclasses, incredibly simple to use but so useful. My only gripe is no first-class support for "__slots__".
I have a decorator to add support for slots: https://github.com/ericvsmith/dataclasses/blob/master/datacl... (although I'll admit I haven't tested it in a while). The reason it's not an option by default is because it would be the one case where the decorator would have to return a new class, and I didn't want to do that on the first version. As it is, @dataclass just modifies an existing class. I might bite the bull…
Thanks for working on dataclasses :) - as I said, it's my #1 new feature in Python.