I think this is more like a rant.

Holy Christ! I’ve been using Python to do some simple scripts here and there, and what a terrible language to deal with (yea, terrible, just down vote and move on, I need to say it somewhere).

Why would anyone change so many standards? I often need to deal with PHP/JS at the same time and I don’t have a single issue, they feel like the same language in practice, but when it comes to Python everything changes.

I just hate this more human-readable philosophy of Python, we need a common ground to communicate with the machine, I don’t want fancy keywords or syntax, it’s not that hard to learn a new syntax, it might take a few days, it’s not worth the trade off of changing so many standards that older languages came with.

For some reason every single code I write feels aesthetically ugly. I feel like the letters are just floating around without brackets and curly brackets.

I often mistake a lot of:

for x in list:

With:

for (x in list):

And it’s done, syntax error, I need to go back and do it “Python way”. It’s way harder to read Python code than anything else, I want to read what the for loop expression is evaluating, and the lack of brackets make it harder to assimilate.

Don’t even let me talk about types! Why would you provide a way to type parameters but don’t enforce it at runtime? Jesus Christ! It could be simple: if you type a parameter, you want it to be checked, if not, you wouldn’t type anything. You need to import built in types, why would any human on Earth make a decision like that? (from typing import List, Optional)

Why so many different ways to declare an array-like structure? Tuples, Sets, Dicts, Lists? Dude… ffs, I know each one supposedly has a “different” purpose, I literally don’t see any good benefits on it. It just makes me more confuse.

I’m not talking about 3rd party libraries like mypy, I’m talking about things that should be on language core since the first version.

The more I learn about Python, more it pisses me off. I’m mainly using it because of interoperability, easy to setup, it runs flawlessly in any OS and Python usually comes pre-installed in many OSs, but the experience of developing in this language is just terrible.

  • ChillPC@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    If you want, here is my framework when I am full of frustration but seek answers:

    1. Open new file
    2. Write my thoughts unleashing all the frustration I have
    3. Calm down
    4. Put the file to trash
    5. Open new file
    6. Write my thoughts and question in a respectful way to engage in healthy conversation
    7. Copy and send online