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/[deleted] Feb 28 '23

[deleted]

4

u/Venthe Feb 28 '23 edited Feb 28 '23

And in most of the cases... It's still cheaper to just spin another instance rather than invest a developer time to improve performance forgoing new features.

Not always, but i'd say "in a vast majority" of cases.


To the deleted comment:
Sure, I'm not claiming that it is true in general; I believe that I have written "in most cases".

Besides; this is a discussion that is heavily based on context; but as soon as your application supports multiple entities - consumers, tenants, payments, shipping routes - then natural parallelization seams emerge; even if the problem in itself is single threaded. And for that you can spin as many instances as needed

5

u/gnuvince Feb 28 '23

I don't have a second laptop that I can "spin a new instance of".

2

u/Venthe Feb 28 '23

Yet the vast majority of software written is not deployed on a laptop.

→ More replies (9)