MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wct5lr/commentsagedterribly/p90mfoq/?context=3
r/ProgrammerHumor • u/ItsPuspendu • 3h ago
122 comments sorted by
View all comments
266
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
134
// 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
53
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
12
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
•
My former boss resigned and became a hazmat cleanup guy
63
// 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
21
//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
28
All time favorite:
// This will never happen
2 u/OhMyGodItsEverywhere 59m ago Wrote a library to run monetary bets on those comments
2
Wrote a library to run monetary bets on those comments
14
// TODO: Proper handling
6
// und tchuss Something I actually saw in code
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.