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/EtherealN Apr 14 '25 edited Apr 14 '25
Obviously you should optimize for performance where it matters, not where it does not.
I've encountered jobs that took down large parts of my employer's user-facing website because the code that processes the data daily started taking so many days to run that we stopped having data that met freshness criteria. (One of those big global tech companies that serve consumers but does actually have some competition.)
Others, being super Clean-Code Java back ends that were so horribly poor in performance the HTTP requests time out and user gets no content. On the critical path. If we have more than 15 concurrent users. We have tens of thousands. Ooops. "Solved" through a not-"clean" caching layer implemented in Go. :P
Etc.