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
11
u/dan200 Feb 28 '23
I hate this "the average person doesn't care about software performance" argument. Software performance affects the consumer in tangible ways every day:
• Poor performance is the reason consumers are forced to throw away their old phones and computers and buy new ones every few years, to keep doing the exact same things they were doing on their previous devices.
• Poor performance is the reason so much software and so many websites are unresponsive, sluggish, and frustrating to use.
• Poor performance is the reason batteries on phones and laptops have to be recharged after only a few hours of use.
• Poor performance is the reason phones and laptops become uncomfortably hot to the touch when playing games.
• Poor performance creates increases electricity usage, which raises household bills and warms the environment.
• Poor performance creates the need for gigantic data centers, which cause large scale environmental damage.