Python Is a Bad Programming Language
medium.com
Python Is a Bad Programming Language
1–10 of 32 posts
Re: Python Is a Bad Programming Language
#2I agree with the indentation used for limiting blocks, but that is just subjective preference.
Not really fond of access modifiers, I think some form of naming convention can achieve the same without restricting possibilities, from the development side at least.
Object orientation is quite awesome if you use it when it makes sense. As someone who develops a lot of C, the motivation behind it was understandable. I still think a language should give options here, not have restriction like they exist in Java. I don't want to look at hundreds of files to retrace executions.
Dynamic typing has advantages and disadvantages. I cannot say it isn't convenient, but it comes at a price.
That said, learning Python seems like quite a good idea. It can be used for system administration to high level machine learning and is a tool that can be employed almost everywhere for any problem without too much hassle.
If we wouldn't have Python, people would write more Javascript.
Re: Python Is a Bad Programming Language
#3Google didn’t do anything to push pythons popularity in the community. If anything it held it back being so committed to version 2.
White space is a non issue. At best it ensures readability and consistent structure. At worst it’s unimportant.
The thing about version 2 versus version 3 is old news, everyone uses version 3, move in and shuddup about it.
Typing has received more significance recently with various languages like javascript moving towards typing. Python had mypy and it’s becoming more popular.
Pythons object orientation works just fine, and besides isn’t the industry trending away from OO?
None of these things make python “bad”. The author is making ridiculous claims and overreaching in his criticism and embarrassing himself.
A blog post that’s more hot air and bluster than substance.
Re: Python Is a Bad Programming Language
#4I've been using Python since the 1990s and I remember the Python conference really growing because of Zope. Later was Django, and NumPy finally solidified the previous numarray, Numeric, etc. confusion, which helped with a lot of scientific and engineering projects.
I struggle to think of what big influence Google had in the first decade of the 2000s. The "abc" module? Getting people to use App Engine? van Rossum had 50% time to work on Python, and I believe Google employed a few other core developers?
> They probably would have wanted to embrace Java, as they were already using it with Android,
Umm, but they were using Python from the beginning. Flash back to 1995 (!), quoting Scott Hassan at https://www.vanityfair.com/news/2018/07/valley-of-genius-exc... :
] And I was fixing some of the bugs that he was having with Java .... And I remember thinking, Wow, this is insane!, because I was spending a lot of time fixing this underlying tool. And so one weekend, I just took all his code, I took his whole entire thing, and threw it all out, ... I knew I could get the thing working if I used a language I knew very well, called Python. ... So Larry went from barely downloading a 100, to doing 32,000 [pages] simultaneously on a single machine.
That's why Python was already established at Google long before Android.
Anyway, this essay contains the usual criticisms about Python:
- 2 vs. 3 (a valid opinion a few years ago, IMO, but fading now)
- requires an explicit 'self'
- no distinction between declaration and initialization
- no private variables
- whitespace indentation instead of braces
- dynamic typing
- no constants
Those seem like valid personal opinions, but little more than that.
Re: Python Is a Bad Programming Language
#5> only in Python will the difference between tabs and spaces cause the interpreter to have a heart attack.
> The question of making a variable constant came up on Stack Overflow and a Python developer’s advice was “just don’t change it”.
All of these critiques seem to amount to: If I do something dumb, then Python will break on me. While I respect that other languages have protections, it's sort of like asking "why doesn't Python have static types?".
Re: Python Is a Bad Programming Language
#6Re: Python Is a Bad Programming Language
#7Meh. Weak criticisms. Google didn’t do anything to push pythons popularity in the community. If anything it held it back being so committed to version 2. White space is a non issue. At best it ensures readability and consistent structure. At worst it’s unimportant. The thing about version 2 versus version 3 is old news, everyone uses version 3, move in and shuddup about it. Typing has received more significance recen…
I competely get why people hate self, or this in js for that matter, when they came from those main stream languages with implicit access. However, once you get used to it, you will actually prefer the explicity that make you more mindful and hopefully write better code that try to minimize states and context at all cost.
Re: Python Is a Bad Programming Language
#8Re: Python Is a Bad Programming Language
#9Meh. Weak criticisms. Google didn’t do anything to push pythons popularity in the community. If anything it held it back being so committed to version 2. White space is a non issue. At best it ensures readability and consistent structure. At worst it’s unimportant. The thing about version 2 versus version 3 is old news, everyone uses version 3, move in and shuddup about it. Typing has received more significance recen…
Re: Python Is a Bad Programming Language
#10> For a very long time, Python had two major versions running around in the wild. They are, of course, Python 2 and
Python was popular long before that, and the most recent explosion in popularity came with the rise in data science.