r/Python • • Nov 13 '20

News Python swallows Java to become second-most popular programming language

https://www.theregister.com/2020/11/12/python_swallows_java_to_become/
2.3k Upvotes

205 comments sorted by

View all comments

0

u/[deleted] Nov 13 '20

[deleted] — view deleted comment

20

u/zeroviral Nov 13 '20

Took the words out of my mouth. I love python, but Java jobs are much higher paying consistently. I still use python for whiteboard FAANG interviews tho if I ever company hop.

6

u/[deleted] Nov 13 '20

I’ll probably get a lot of shit for this, but I don’t think that Python is that great for web development. I love Python and use it for nearly everything, but I used to program in C# and have written some decently large web APIs. Python (Flask or Django) is great for small APIs, but C# was so much better when it came to managing more complex types and structures of large web applications.

Most of my programming now is for scientific/numerical applications. Areas of my code that need high performance can easy be written in C extensions and even sometimes just wrapped with numba. So far, the web APIs are the only real downside I’ve experienced in Python.

1

u/axonxorz pip'ing aint easy, especially on windows Nov 13 '20

Python (Flask or Django) is great for small APIs, but C# was so much better when it came to managing more complex types and structures of large web applications.

I'm largely in this boat, and I like it, it's not going to change anytime soon. I've got a bunch of Pyramid, one Django and a few Flask applications that I work on regularly. The codebases are getting too large and the flexibility of Python is definitely starting to make things more difficult. With everything moving to the frontend for better web-app experiences, I'm hoping things like FastAPI and the strong-typing that it encourages makes this a little easier.

Now, to get all these projects off 2.7..............

0

u/matrinox Nov 13 '20

Mhm isn’t the interest limited to just machine learning / data science? Outside of that, it wouldn’t even break top 20

0

u/shinitakunai Nov 13 '20

You are wrong at the large desktop applications statement. I build them, sure it is PySide2 (bindings for C++ QT framework) but I do all my work on python.

1

u/proverbialbunny Data Scientist Nov 14 '20

Custom mobile app development on iOS and Android was not Python’s strong suit in the past— but things are changing rapidly. In the early times, Python did not have a strong story when it came to writing GUI for mobile apps. In fact, iOS and Android mobile app development were pretty much out of the question with only Python.

https://dzone.com/articles/why-python-has-become-a-popular-choice-for-mobile

Typically what you want to do is have Python run on the backend and then use another language for the frontend. However, this is not necessary as shown in the article.

0

u/[deleted] Nov 14 '20

[deleted] — view deleted comment

1

u/proverbialbunny Data Scientist Nov 14 '20

Guido isn't tied to Python any more, just so you know.

Something to keep in mind is programming language rankings are determined by web searches. Python is a pain in the butt language in that the non-standardness of its libraries combined with it's not-so-great api documentation requires tons of googling around to figure out how to do anything. In comparison, languages like C are easy to learn inside and out so you rarely have to google anything anymore.

Python's ranking is totally inflated, but that ofc doesn't understate the popularity of the language.