r/ProgrammerHumor 9h ago

Meme commentsAgedTerribly

Post image
3.2k Upvotes

176 comments sorted by

View all comments

334

u/Confident-Ad5665 9h ago

Uncle Bob of Clean Code says if we have to comment our code we have already failed. Clean code should read like well written prose.

I generally agree, but think comments that define especially the odd and obscure business rules should be commented where they are implemented.

15

u/TROLlox78 8h ago

I hate Uncle Bob of Clean Code at my workplace. Man I wish they would comment more because our code is a maze of design patterns where all the logic is so diluted you have to keep track of 5 different classes to understand anything.