this post was submitted on 05 Apr 2024
523 points (94.4% liked)

Programmer Humor

19512 readers
497 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] xtapa@discuss.tchncs.de 1 points 7 months ago (1 children)

When you handle all your errs the same way, I'd say you're doing something wrong. You can build some pretty strong err trace wrapping errs. I also think it's more readable than the average try catch block.

[โ€“] kaffiene@lemmy.world 2 points 7 months ago

You still need to add error handling to every call to every function that might raise an error