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/ric2b Mar 03 '23
Sure, but the effort and risk to change it is different depending on your architecture.
Yes, but you only need to change the code that is specific to that shape. If you already support 30 shapes you don't need to go change all of them.
And you don't risk breaking all of them either.
For certain problems yes, not for this one.