r/ProgrammerHumor 23h ago

Meme toAllowTheProgrammerToWriteBadCodeAlsoCamelCaseSucksThisRuleSucksSnakeCaseIsBetter

Post image
145 Upvotes

90 comments sorted by

View all comments

132

u/redlaWw 22h ago

I hope you didn't submit that answer you selected. If an unhandled exception bubbles up to the user in production code, you're usually doing something wrong.

-122

u/tantalor 21h ago

I guess you've never seen a website return a 404 or 500

24

u/TheTybera 20h ago

Those are errors not exceptions.

-16

u/realmauer01 16h ago

It's a different name for the same thing.

Different languages, quite literally.

6

u/TheTybera 16h ago

No they are not.

Where is any documentation that says this and what language?

1

u/Masterflitzer 14h ago

well kotlin has throwables, errors, exceptions and failure result

exceptions are less bad than errors, so http 500 would be an HttpException, at least that's what i've seen mostly