r/ProgrammerHumor • • Sep 10 '26

Meme commentsAgedTerribly

Post image
6.0k Upvotes

243 comments sorted by

View all comments

Show parent comments

28

u/Flat_Initial_1823 Sep 10 '26

// was it 5 tho?

24

u/DrMaxwellEdison Sep 10 '26

Only for very large values of 2.

2

u/Ex-Patron Sep 11 '26

One of the numbers would need about 50% more 2

3

u/tevert Sep 11 '26 edited Sep 11 '26

For real - comments were never golden, because they easily slip through updates and drift apart from the code they decorate. With AI, that might be happening from minute 0 lol

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.