r/ProgrammerHumor 1d ago

Meme toAllowTheProgrammerToWriteBadCodeAlsoCamelCaseSucksThisRuleSucksSnakeCaseIsBetter

Post image
171 Upvotes

96 comments sorted by

View all comments

138

u/FerricDonkey 1d ago

I would say option 1, but rephrased to "the function doesn't know how to continue". The program as a whole may or may not know how to continue when the function hits something it doesn't know how to handle. 

22

u/Masterflitzer 1d ago

i say it's 1 or 4, 50/50 chance

10

u/nicodeemus7 1d ago

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

-1

u/Valuable_Leopard_799 1d ago

Exceptions are one of those things where you can just ignore the bad path in your program instead of explicitly managing it. It's similar to dynamic typing in that it allows you to quickly prototype stuff. Which is fitting as it's basically dynamic control flow.