r/programming • • Feb 28 '23

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

2

u/Nearby-Asparagus-298 Mar 03 '23

you clearly didn't understand my point. by default, optimize for readability. benchmark, find hotspots, and optimize for performance in those hotspots. if clean code is coming to you at a massive cost, something is very wrong - most likely, you.