• moomoomoo309@programming.dev
      link
      fedilink
      English
      arrow-up
      25
      ·
      4 days ago

      I think you’re using this meme template backwards - the car should say most people and the text for the directions should be flipped. The car is supposed to be going somewhere it shouldn’t, not somewhere it should.

      • glorkon@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        4 days ago

        You’re absolutely right, and I noticed it as well, but I already had some upvotes. Also, I’m a lazy fuck and didn’t want to do another one.

    • Nat (she/they)@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      4 days ago

      Eh, Python has a very small slice where I’d consider it the right tool for the job for me. It’s for when I want a less awful bash script, but going much bigger than that makes me miss type systems.

      • mkwt@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Optional type annotations started to enter Python around 3.8, and they have really improved the experience. Even if nothing enforces the annotations, the IDEs can pick them up and show them to you in all the usual places.

        • Nat (she/they)@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          12 hours ago

          I used them heavily, but I still run into issues of guessing what type library functions return or expect me to pass in. Sometimes there was no answer because the authors I guess wanted to be cool and accept any type that kinda fits, or they return either this or that type based on the arguments and now I have to assert which one it is to the type linter. And then I’d still get runtime errors about failed property accesses deep in library code and have to figure out wtf they wanted me to do.

      • glorkon@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        4 days ago

        People like to use it for AI, data science, machine learning (TensorFlow, PyTorch, Keras, …) and even scientific stuff (SciPy, SymPy, AstroPy). So it seems to be the right tool for some jobs, which is all that matters. Your job may be something entirely different and that’s absolutely fine.

        (And no, I don’t use Python either.)

  • mostlikelyaperson@lemmy.world
    link
    fedilink
    arrow-up
    36
    ·
    4 days ago

    That joke would be funnier if half the software written in C++ wasn’t so poorly implemented that Python ends up being faster by virtue of its underlying C libraries being p well written and doing most of the heavy lifting for you.

  • lambalicious@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    54
    ·
    4 days ago

    This can’t be C++. Not enough stacks of unneeded template names, and the function names are not mangled beyond recognition.