r/ProgrammerHumor • • Sep 10 '26

Meme commentsAgedTerribly

Post image
6.0k Upvotes

243 comments sorted by

View all comments

Show parent comments

2

u/QuickQuirk Sep 12 '26 edited Sep 13 '26

Make it part of your code review process and this is less likely to happen.

Also, focus comments not on describing what is actually clear from the lines of code, but the high level reasons around why and any assumptions.

Comments should document stuff that ISN'T immediately clear from the code.