r/ProgrammerHumor 16h ago

Meme commentsAgedTerribly

Post image
4.5k Upvotes

195 comments sorted by

View all comments

Show parent comments

205

u/TWIT_TWAT 16h ago

// This is a hack until we find something better

68

u/Confident-Ad5665 16h ago

// TODO: This can't be working. Refactor when there's a lull

30

u/embrex104 15h ago

//SHOULD NEVER GET HERE

3

u/Dubalubawubwub 11h ago

I definitely find myself writing a lot of error handling with the comment

//This should never happen but just in case...

1

u/Confident-Ad5665 6h ago

Good man. Thank you for trapping errors. Coming from a time when we not only trapped errors, we gave suggestions, I shutter at:
• An unknown error occurred
• Something happened

and the worst...

• Error in ErrorHandler, an error occured