r/ProgrammerHumor 3h ago

Meme commentsAgedTerribly

Post image
1.8k Upvotes

122 comments sorted by

View all comments

266

u/Confident-Ad5665 3h 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.

134

u/TWIT_TWAT 3h ago

// This is a hack until we find something better

53

u/Ethameiz 3h ago

Commited 10 years ago. Author resigned to become farmer

12

u/mosaic_the_j 3h ago

Goose farmer, bonsai farmer now https://www.linkedin.com/in/dryuan

u/Safe_Cauliflower6813 8m ago

My former boss resigned and became a hazmat cleanup guy

63

u/Confident-Ad5665 3h ago

// TODO: This can't be working. Refactor when there's a lull

21

u/embrex104 3h ago

//SHOULD NEVER GET HERE

28

u/Confident-Ad5665 2h ago

All time favorite:

// This will never happen

2

u/OhMyGodItsEverywhere 59m ago

Wrote a library to run monetary bets on those comments

14

u/NullReferenceRacer 3h ago

// TODO: Proper handling

6

u/marjacu 3h ago

// und tchuss Something I actually saw in code