7 Reasons Why People Hate Python

And all the reasons why they are wrong

Erik van Baaren
Python Land

--

Python is awesome! So why do people hate Python? After some highly non-scientific, Internet-based research, these are the reasons I encountered most often. I found many more, but most of them were so ridiculous that I wouldn’t even dare to repeat them here.

I won’t link to sources or apply naming and shaming. Consider this read just for fun, but with an educational touch!

Disclaimer: no feelings or programmers were hurt while writing this article, but some feelings might get hurt while reading it. If you have a heart condition and love Python, perhaps you better skip this one.

1. Indentation instead of curly braces

Many people complain that Python relies completely on indentation to create blocks of code. As you know, indentation is not optional in Python. The complaints vary but are often one of the following.

It’s hard to see where a function ends

That’s true if you write huge Python functions. But it would help if you didn’t write huge functions at all. In fact, this applies to any language, not just Python. A function should do one thing and do it well. If you find yourself writing a multi-page function, you should…

--

--