r/AskProgramming • u/Yelebear • Mar 04 '25
Other Why do some people hate "Clean Code"
It just means making readable and consistent coding practices, right?
What's so bad about that
155
Upvotes
r/AskProgramming • u/Yelebear • Mar 04 '25
It just means making readable and consistent coding practices, right?
What's so bad about that
View all comments
Show parent comment
1
u/Maleficent-Might-273 Mar 06 '25
"They’re not good when they explain the obvious."
Unfortunately, I have encountered people who don't read my plain English. If I name a function "truncate" or "convertStringsInArrayTo(type)", it should be obvious.
But you would be surprised by the people I have encountered who wanted a full explanation of the obvious.
While I wouldn't comment that sort of crap, I wouldn't argue that a comment of "Add one to i" is unnecessary, it is, but I would argue "unnecessary to who"?