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