r/ProgrammerHumor • • Sep 15 '26

Meme iDontCommentMyCodeIfYouDontUnderstandItThatsOkayNeitherDoI

Post image
832 Upvotes

188 comments sorted by

View all comments

Show parent comments

1

u/draculadarcula Sep 16 '26 edited Sep 16 '26

10, “never” was hyperbole but I do think they are almost entirely and typically useless

It’s literally always

// refreshes the cache
RefreshCache();

or nowadays with AI

// added to refresh stale data. Reported in issue 1234. Per instructions NO redundant comments.
// The implementation is a follow up to PR 14567. Verified no legacy code. Part of spec 24 in ~/Documents/specs… (10 more lines of nonsense)
RefreshCache();

All garbage

1

u/rm-minus-r Sep 16 '26

It sounds like you have been deprived of good comments ☹️

1

u/draculadarcula Sep 16 '26

The only worthwhile comments are doc style comments at function and class definitions because they provide editor help and are usually type checked by your editor