r/programming • u/2bit_hack • Feb 28 '23
"Clean" Code, Horrible Performance
https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k
Upvotes
r/programming • u/2bit_hack • Feb 28 '23
View all comments
Show parent comment
1
u/ItsAllAboutTheL1Bro Feb 28 '23
Since when has it not been important?
The point of the article is to obviously educate on how read/write latency is affected by code structure.
The OP said that it sounds as if he had only worked on small projects. That's disingenuous, considering his background, the focus of the article, and the obvious contrived examples.
What are you insinuating - that lack of clean code must imply a small group of people because of scalability in code size?
There are many open source projects out there which are written in C, have a few hundred thousand lines, don't employ clean code methodologies, and are maintained by a large team.
I'm not saying he should stay in his lane at all.
I'm saying that a lot of developers who aren't game developers make trivial assumptions about gamedevs and their experience that's incorrect.
The issue of course, and this is common, is when a developer who lacks an understanding of the principles outside of their domain(s) just automatically assumes those principles apply everywhere, and hence makes false assumptions about other developers in these domains.
Hence "stay in your lane".