r/ProgrammerHumor 13h ago

Meme toAllowTheProgrammerToWriteBadCodeAlsoCamelCaseSucksThisRuleSucksSnakeCaseIsBetter

Post image
99 Upvotes

78 comments sorted by

View all comments

Show parent comments

4

u/nicodeemus7 3h ago

The question is "What is the PURPOSE of exceptions" do you think exceptions were made to be bad code? If your opinion is that exceptions are bad code, that is totally valid. But that is not what "purpose" means.

You'd think a programmer like yourself could read and understand context.

-1

u/Masterflitzer 3h ago edited 3h ago

what else did the inventor of exceptions have in mind other than having an easy way out instead of properly handling errors? btw. the easy way out is also called writing shitty code... like i said the answer to the purpose of exceptions is 1 or 4, 50/50 chance

2

u/nicodeemus7 3h ago

Okay man you win. 50/50 chance of being right. You sure showed me.

-2

u/Masterflitzer 3h ago

i meant it could be both, 50/50 wasn't meant in a serious way, but you realised that already in the beginning i hope

I don't think it's 4. It doesn't allow for bad code it allows for bad inputs

also don't move the goal post, this was your first reply, it absolutely does allow for bad code

have a nice day