• afk_strats
    link
    fedilink
    English
    arrow-up
    60
    ·
    7 hours ago

    So glad to see that Python finally made it big in 2022

    • MangoCats@feddit.it
      link
      fedilink
      arrow-up
      14
      ·
      7 hours ago

      Python was an even bigger mess in 2022 than it was in 2010. The version control hellscape intensifies with the more things there are to have version incompatibilities with.

      • im_fine_sandy@nord.pub
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        2
        ·
        edit-2
        2 hours ago

        I have lots of experience with node and a little with python.

        Python seems great for working with large data sets and I really like jupyter notebooks. The available libraries are really great.

        However, the thought of installing a Python CLI app makes me twitchy.

        I suspect that node has all the same problems and that I’m used to working around them, but all the Python environment stuff is a nightmare.

        Edit: dear python dweebs: I don’t care.

        • Joe@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          Python is great for standalone scripts/CLIs with standard system dependencies. For actual apps you want venvs, probably managed by uv these days.

          I’ve written 1000s of python CLIs/scripts over the years, typically wrapping APIs for otherwise shitty enterprise and SaaS software (also many one-off scripts for ETL).

          Nowadays, AI writes these scripts in a fraction of the time (and reads the shitty API docs / otherwise figures it out) and my CLI toolkit is better than ever (with $0 ongoing cost). Calling MCPs from CLIs is also interesting, as some vendors never had usable APIs before now.

        • grue
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          5 hours ago

          Python environment/packaging sucks, but at least the language itself doesn’t.

          • esc@piefed.social
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            5 hours ago

            It’s fine actually, all of the problemswith python packaging and env are overblown to insane degree.

            • grue
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              2 hours ago

              I used to work at a place that used Jython (which never got updated to Python 3, BTW) and was responsible for trying to keep that shit working even as various libraries started dropping Python 2 support.

              I still get a thousand-yard stare when I think about it.

              (Still worth it vs. writing actual Java code, though.)

              • SlurpingPus
                link
                fedilink
                arrow-up
                1
                ·
                1 hour ago

                Npm/yarn are absolute horseshit.

                See? Node is just as bad as Python now.

              • esc@piefed.social
                link
                fedilink
                English
                arrow-up
                2
                ·
                3 hours ago

                Yep, they are.

                Just recently there was an article here, where a person claimed that recommended python tooling is inadequate because they needes to read two paragraphs of documentation. Endemic problem really.