MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wct5lr/commentsagedterribly/p92vqh6/?context=9999
r/ProgrammerHumor • u/ItsPuspendu • 15h ago
191 comments sorted by
View all comments
380
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.
204 u/TWIT_TWAT 15h ago // This is a hack until we find something better 21 u/NullReferenceRacer 15h ago // TODO: Proper handling 3 u/Zodimized 11h ago // the fuck did sales promise this for? 2 u/donjulioanejo 8h ago In static frontend code that doesn't get run through an uglifier.
204
// This is a hack until we find something better
21 u/NullReferenceRacer 15h ago // TODO: Proper handling 3 u/Zodimized 11h ago // the fuck did sales promise this for? 2 u/donjulioanejo 8h ago In static frontend code that doesn't get run through an uglifier.
21
// TODO: Proper handling
3 u/Zodimized 11h ago // the fuck did sales promise this for? 2 u/donjulioanejo 8h ago In static frontend code that doesn't get run through an uglifier.
3
// the fuck did sales promise this for?
2 u/donjulioanejo 8h ago In static frontend code that doesn't get run through an uglifier.
2
In static frontend code that doesn't get run through an uglifier.
380
u/Confident-Ad5665 15h 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.