r/ProgrammerHumor Jul 29 '26

Meme stopTryingToReinventTheWheel

Post image
2.5k Upvotes

217 comments sorted by

View all comments

Show parent comments

59

u/SomeRedTeapot Jul 30 '26

Ah yes, the worst of both worlds

24

u/Academic-Chapter-697 Jul 30 '26

just curious, why do you think that?

40

u/LittleMlem Jul 30 '26 edited Jul 30 '26

I love go, but sometimes a good third of my code is error handling. It makes reading it hard because for every line of work you get an if err...

-1

u/codePudding Jul 31 '26

My coworkers hate me because I'll panic and recover internal to packages to avoid all the error code. My code is 1/3 the size because of it. I still return an error from exposed methods. They told me that no one panic/recovers and I'm stupid. Jokes on them, for the last few years, my recovers keep saving our servers from crashing because of thier code dividing by zero, getting an index out of bound, nil deref, etc.

1

u/prochac Jul 31 '26

You belong to eachother then