Lists and arrays are fundamentally different beasts, though. Shouldn’t most coders understand that?
Reasons Python Sucks
21–30 of 554 posts
Re: Reasons Python Sucks
#22A dictionary is an interchangeable word with hashmap in most situations. The string 'quirks' actually look to be pretty helpful.
Gripes I do actually agree with: the schism in versions, mutation from pass by ref (although this isn't different from JS, Java or any other OO lang). In my opinion you can add OOP in general to the list of gripes against python.
Re: Reasons Python Sucks
#23These so called package manager can't manage packages at all. I'd like to call it package downloader. They just download everything from language interpreter to library to a single directory and call it job done. No easy way to remove the package. The interpreter and library's version is forever fixed. Theoretically, it can upgrade the version but the user mostly don't.
I really hate their ecosystem.
Re: Reasons Python Sucks
#24The whole can't manage my environment and don't understand how to manage the python thing at all has my sympathy. Python is messy at that level.
With the organizational 'control' sysadmin deprecated by devops and containers/automation becoming the new norm these types of complaints have to be dealt with by people who have no idea of what they are doing in generalized context.
Re: Reasons Python Sucks
#25Elixir has none of these faults, so I guess I will continue to enjoy using it. Lists and arrays are fundamentally different beasts, though. Shouldn’t most coders understand that?
Re: Reasons Python Sucks
#26Re: Reasons Python Sucks
#271. Importing behavior is ridiculous: https://chrisyeh96.github.io/2017/08/08/definitive-guide-pyt...
2. Python libraries' documentation leave a lot to be desired (compared to good javadocs). Just because your language is dynamically typed doesn't mean you don't need to describe what the expected shape of a parameter should be.
3.
Static method? @staticmethod
Static variable? declare it outside of your methods but inside your class
Private method/var? name it: __name (but it's not really private just hard to find)
I'm sure other Java programmers have had a culture shock coming to python as well. I appreciate how concise the language is, the great community and module ecosystem, and how productive it is. But, it feels to me like there's features missing (I've only been seriously programming python for 5 months though, before I was basically just scripting and writing java code in python).Also the most fun part of learning python has been list comprehensions and itertools, they've really been a revelation. Like when I first learned Ruby procs, blocks, closures and lambdas.
Re: Reasons Python Sucks
#28A number of these points seem like reasonable opinions to have. But two which had me questioning the breadth of the author's experience were "Most programming languages pass function parameters by value." and "In every other language, arrays are called 'arrays'. In Python, they are called 'lists'." To the author: 1. Java, JavaScript and C# all have types which are passed by reference. (They also have types which are…
Re: Reasons Python Sucks
#29Re: Reasons Python Sucks
#30> Here I am hating on the language I love, but I remember when I would have to review this question on StackOverflow every time I wanted to create a new virtual environment: > https://stackoverflow.com/questions/41573587/what-is-the-dif... What a mess. Came here to post something similar, but a commenter on the blog post itself got to it first. Virtual environments never made sense to me.