• brucethemoose@lemmy.world
    link
    fedilink
    arrow-up
    128
    arrow-down
    2
    ·
    edit-2
    2 days ago

    Meanwhile, Rust punches you in the face for the mere suggestion. Again. And again.

    Python happily nods, runs it one page at a time, very slowly, randomly handing things off to a C person standing to the side, then returns a long poem. You wanted a number.

    Assembly does no checking, and reality around you tears from an access violation.

    EDIT: Oh, and the CUDA/PyTorch person is holding a vacuum sucking money from your wallet, with a long hose running to Jensen Huang’s kitchen.

    • stingpie@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      24 hours ago

      I refuse to believe the python one ever happens. Unless you are importing libraries you don’t understand, and refuse to read the documentation for, I don’t see how a string could magically appear from numeric types.

      • expr@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        13 minutes ago

        You don’t see how type mismatch errors can happen in a dynamically-typed language? Then why do they happen all the time? Hell, I literally had a Python CLI tool crash with a TypeError last week.