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.
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.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
So catching errors and doing nothing? That exists in every language except maybe BASIC?
Catching individual errors is fine. Having all errors be ignored by default is weird.
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.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.