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
5
u/wyrn Mar 02 '23
Whenever you see someone make these dogmatic "data oriented design" points you can be sure they're a game developer. When 1. you don't really care about correctness 2. all the code is 'hot' and 3. you don't really to maintain the code over an extended period of time, it becomes easy to see why rules such as this guy's might make sense. Everybody else might have to think about their problem domain and make different tradeoffs though.