r/ProgrammerHumor • • Sep 15 '26

Meme iDontCommentMyCodeIfYouDontUnderstandItThatsOkayNeitherDoI

Post image
832 Upvotes

188 comments sorted by

View all comments

5

u/Wentyliasz Sep 15 '26
  1. Docstring for each nontrivial function
  2. Here's why the fuck I didn't do that other obvious thing you're thinking about now
  3. I know this is fucked, client insisted
  4. Oy QA, beer on Sunday?

2

u/Ragingman2 Sep 15 '26

I use this list plus 5. One line summary for code skimming. Something like // Send it to the client preceding 30 lines of sending it. I used to make these functions, but I've come to dislike single caller functions in most cases.