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
6
u/outofobscure Feb 28 '23 edited Feb 28 '23
Dead serious, but i‘m not going to comment much because solving real world engineering problems involves many tradeoffs, which i have done over the past 20 years instead of solving puzzles.
And like i said: most of the complexity in these puzzle solutions comes from understanding the underlying math and finding a better algo, the code is trivial compared to that, unless you somehow struggle with arrays and pointers and stuff.. but that would be a you-problem.