I am curious how much of python’s rise is a result of the data/ai rise and people wanting to be a part of that. Is it being used to consistently build production applications? If the TIOBE is mostly lines of code, which it’s description seems to indicate, are their any other indexes that are something like “production lines of code”?
As a guy who started off as a PHP developer and graduated into a jack of all trades, with only so much time and different types of problems to solve, and before AI, the objective for me has been to economize my learning capacity and not double up on learning languages to solve the same domains of problems.
To that end, I’ve always seen Python and Ruby as similar except Python has all the data goodness and a slightly less popular web framework for which I could always fallback on PHP (Laravel) if I need a web framework that got it all.
Betting on Python a decade ago was a good use of my time.
Depends on what you are doing. Betting on C++ was a good idea for me 20 years ago - but I work in embedded systems where Java wouldn't work because I sometimes need to access hardware. Embedded also means I don't even have a web server, so I have no need for a web framework which the person you replied to seems to find important. I don't know their situation, but there is a large need for people to write web code and so for many people betting on a web framework is a good idea.
I have done enough web to know I'd bet on python over PHP, but only because I know there are several popular web frameworks in python to chose from.
How do you define "production application" though? Customer facing? Running 24/7 to keep systems alive?
Python is great for making scripts, e.g. to process logs or quickly analyse and plot data for example. I've seen so many of these Python scripts and internal apps that are critical to customer support and keeping other systems healthy. They might not be in the critical path but they help with and speed up work.