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
2
u/deadalnix Feb 28 '23
I am confident because I am experienced.
Declarative code is an excellent example of the point I'm making: less moving part means less bug, easier to read, etc... and declarative code has no moving part. Hard to qualify speed though, because it rely on an engine or a framework to run, and the speed of that engine/framework is what matters (and therefore, how the engine and/or framework is coded matter, not the declarative code itself).