by erhk · 5y ago · 0 comments
Supporting evidence:
1. It looks ugly
2. Why is there more than one python?
3. Whitespace is dumb
4. Dynamic typing is bad
5. No support for constants
The article fails to even consider that languages are different tools for different problems where a valid argument can actually be found.
Why do you need constants? How can you argue that types are necessary but simultaneously permit magic numbers?
There are certainly some valid shortcomings of python, none of which the author mention.
I'll also add that a lack of backwards compatibility with python2 is painful but not unheard of in other languages and libraries. Not that the author presented it as a complaint about compatibility, rather about being given too many options. I wonder which C compiler they use?
Python can have its own conventions though, separate from the conventions of other languages. It just means the applications that Python is a good choice for are not exactly the same ones that Java or C# are great choices for.
Magic numbers like Pi?
If a value must not change for the lifetime of a program, you are unable to enforce that constraint, leading to bugs.