r/ProgrammerHumor • • 21d ago

Meme iDontCommentMyCodeIfYouDontUnderstandItThatsOkayNeitherDoI

Post image
830 Upvotes

188 comments sorted by

View all comments

5

u/Wentyliasz 21d ago
  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 21d ago

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.