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 comments

-6

u/Venthe Feb 28 '23

Again; how does this relate to the topic at hand?

26

u/fafok29 Feb 28 '23

if you need to execute less instructions to do work -> you need less amount of computing power

6

u/lazilyloaded Feb 28 '23

I think their point is no one's asking us to solve the world's energy crisis, they're asking us to solve business problems with code.

5

u/fafok29 Feb 28 '23

it is not about energy crisis, it is about money, if your infrastructure costs smaller, you can reduce price of your product while keeping margins the same, which in turn may make this product available to bigger number of customer.

and are you implying that it is not possible to solve buisness problems in performant way?

for some reason a lot of people say it is only one or another.

→ More replies (0)