DEV Community

Discussion on: My love hate relationship with Python

Collapse
 
thebouv profile image
Anthony Bouvier

Ha! I'll take that on the chin, it was rather rude of me as written. I actually intended to a be a bit funnier but it got lost in my haste to respond.

At the end of the day I'm just pointing out that you say parentheses several times, but you're actually talking about missing curly braces. You probably want to edit that to make your case a bit stronger, yeah?

My own opinion on the matter: I use languages daily that are bracket heavy (JS, PHP) and those that are not (Python) and it works out fine. I actually really like how clean Python is without the braces -- to me, opposite of you, it is much easier to read the code because there is less noise.

If your code is so long and deeply nested that you easily get lost, you're already doing Python wrong anyway. Super long complex functions should be broken down into smaller, easier to digest ones. And then you wouldn't have such a hard time reading just a few indentation levels. Give it a try again. Python is pretty great, but there are also plenty of other great languages too.