this post was submitted on 14 Aug 2023
1414 points (98.0% liked)

Programmer Humor

19623 readers
1120 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
[–] fkn@lemmy.world 14 points 1 year ago (2 children)

Exceptions don't exists and ask errors must be handled at every level. It's infuriating.

[–] planish@sh.itjust.works 4 points 1 year ago

I actually kind of like the error handling. Code should explain why something was a problem, not just where it was a problem. You get a huge string of "couldn't foobar the baz: target baz was not greebleable: no greeble provider named fizzbuzz", and while the strings are long as hell they are much better explanations for a problem than a stack trace is.

[–] msage@programming.dev -2 points 1 year ago (1 children)

Hahaha, fuck no, I've dealt with exception-less code enough in my life, kthxbye

[–] GlitchSir@lemmy.world 1 points 1 year ago

I think you missed a memo. Exceptions are bad and errors as values are in… I’ll have Harold forward it to you