• PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    26 minutes ago

    When I was a wee high school kid, asp.net was windows only back then and getting cheap windows hosting was harder than it was getting cheap linux hosting, so I focused on PHP more.
    I haven’t touched it in forever, but its probably still good, right?

    • Err(()).unwrap()@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      35 minutes ago

      Or, if you spin it another way: you could’ve picked up the skills to develop for and support various frameworks, or get stuck in a rut for 30 years with just a single antiquated server-side language.

    • MangoCats@feddit.it
      link
      fedilink
      arrow-up
      12
      ·
      4 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
        ·
        3 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.

        • Joe@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          35 minutes 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@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          2 hours ago

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

    • Err(()).unwrap()@lemmy.world
      link
      fedilink
      arrow-up
      10
      arrow-down
      2
      ·
      3 hours ago

      Fuck me, if my choice is between five flavours of Javascript, I’d rather use PHP. I’m developing a QML application and having to work around that abomination that the clinically insane want to call “arrays” in Javascript makes me want to fucking die. There’s also a QList type implemented by QML. It doesn’t help. Array.isArray(qlist) returns false.

      • rumschlumpel@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        47 minutes ago

        Node is the only JS framework out of these that could 1:1 replace PHP, Vue.js, jQuery and Ajax (aka vanilla JS) are all clientside which PHP doesn’t do at all, Bootstrap is a CSS library and Spring is Java. That said, clientside JS is usually an anti-user mess and both you and the user are usually better off not using it at all.