this post was submitted on 17 Jan 2025
366 points (98.9% liked)

Programmer Humor

33322 readers
741 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 92 points 3 weeks ago (6 children)

Still not as excellent as On Error Resume Next

Imagine the sheer ~~idiocy~~ genius required to add a language feature where, if an error occurred, the handling method is to just pretend that line of code never existed and continue onto the next line.

VBA is truly the language of savants.

[–] [email protected] -1 points 3 weeks ago (3 children)

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

[–] [email protected] 1 points 3 weeks ago

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.

load more comments (2 replies)
load more comments (4 replies)