• magic_lobster_party@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Catching some errors is better than catching no errors. No compiler in any language can protect you from all runtime errors either way, but some are better at it than others.

      • Skull giver@popplesburger.hilciferous.nl
        link
        fedilink
        arrow-up
        0
        ·
        9 months ago

        I’ll take Python’s “program exited four hours into runtime” over C++''s “this memory is uninitialized so it’s less than, equal to, and greater than zero at the same time, hope you never try to do any of checks on it!” undefined behaviour any time.

        At least with Python, you know something went wrong.