• intensely_human
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    20 days ago

    So catching errors and doing nothing? That exists in every language except maybe BASIC?

    • locuester@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      20 days ago

      Very different. This means default ignore all errors and continue to the next line. You’d have to explicitly catch every line in most(all?) other languages.

    • Ignoring every exception, including divisions by zero, is something I’ve never seen outside of BASIC and shell scripting. Even C and assembly will shit themselves when you do some of the shit that ON ERROR RESUME NEXT will ignore.