Everytime I have to use some python script I fucking groan. God, what a pain in the ass python is...

  • crime [she/her, any]
    ·
    2 years ago

    Amen. Python package management is ass, made worse by the python 2.7 vs python 3. I'm sure it doesn't help that because it's pushed on beginners, a ton of python projects are set up by people who don't have any idea what they're doing.

    My least favorite part of reading and writing python has to be semantic meaning for indentation. If I wanna comment out the start of a loop to test something and not fully reformat my entire project that's my business.

    • PorkrollPosadist [he/him, they/them]
      ·
      edit-2
      2 years ago

      I’m sure it doesn’t help that because it’s pushed on beginners, a ton of python projects are set up by people who don’t have any idea what they’re doing.

      Holy shit! Is this it? Is this why Python (and Javascript in particular) are hell?

      edit: (in defense of Python, Gentoo's package manager, Portage, is programmed in Python and is the most robust package manager I've ever used in a good 20 years)

      • DefinitelyNotAPhone [he/him]
        ·
        2 years ago

        Yes. It's where all the people who don't yet know what they're doing end up, and 80% of the world is built on it, so the end result is everything is dogshit.

      • captcha [any]
        ·
        2 years ago

        So is Arch's pacman last I checked but they monitor its codebase with an iron fist. Python has a useful niche right above complicated shell scripts. It just keeps getting applied outside of its domain.

    • userse31 [he/him]
      hexagon
      ·
      2 years ago

      THIS IS LITERALLY WHAT I HAD TO DEAL WITH LAST NIGHT!

      Some bluetooth exploit code written in python 2.7, AFTER 2014 WHEN THE PEOPLE AT PYTHON SAID TO STOP USING 2.7!!!

      And then the giant fucking MESS trying to get the correct pissing versions of pip packages installed. Fuck it!