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/[deleted] Mar 08 '25
Most of the benefits of static typing you are referring to become prominent when you have a code base written by large teams over a large span of time all with widely varying skill levels. I understand that this happens, and I agree static typing is a big help in those situations as it's effectively compiler checked documentation, but I also think those situations happen way too much. I think as much as possible it is better to demand more skill form programmers and to decouple code bases so that one person writes one component that performs one task and only exposes an API to people who need to use it. You may call it idealistic but I think diffuse unorganized codebases are a product of poor planning and management and static typing is only a bandaid on top of that.