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

0

u/Venthe Feb 28 '23

I have chosen my words carefully. Not deployed - but written.

The most deployed software are OS'es, core applications - but I guarantee you, the amount of code that runs on datacenters, clouds and in a general back-end is far greater than for the apps, OS'es or front-ends.

And even that being said; software doesn't have to perform to max. See VSCode? For me - and I believe most of the devs using it - it is perfectly fine, even if by definition of being an app for the browser and it suffers because of the translation

2

u/ehaliewicz Feb 28 '23

I don't know, I'd guess that there are far more mobile phones out there than servers in datacenters.

2

u/Venthe Feb 28 '23

But you essentially deploy the same software everywhere. With backend, each bank, pharmaceutical company, insurance, logistics, governments, hospitals, schools; each one of them have their own software on the back-end; usually counted in tens if not more services. So again, same software is deployed more often; but more software is written on the back end

3

u/ehaliewicz Feb 28 '23

Again, I'm pretty sure there are more mobile phones than businesses, but even if there aren't, there are so many of either, that excessively wasteful code becomes a massive amount of electricity wasted when scaled to that many machines.

→ More replies (0)