• stingpie@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    1 day 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
      2
      ·
      1 hour 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.