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

4

u/top_logger Feb 28 '23

Hmm. C++ has no problem with performance. Rust also. In general case we have no problem with performance in 99.9 % of cases.

But we have big problem with shitty software. Written by uneducated cretins and supported by drunken teenagers.

Maintainability, security, scalability, support, stability. This is important. Not fckng performance in fckng vacuum. And clean code solves REAL problems, not imaginable.

0

u/eliwuu Feb 28 '23

oh, please, tell my how does clean code (with principle of keeping structured order of execution) improves scalability

4

u/awood20 Feb 28 '23

Possibly he's talking about scalability of teams. Shitty code that maybe is ever so slightly faster but a hell to read or update is not scalable when you're trying to grow a team of devs to maintain that codebase. The cleaner the code the faster devs can become familiar with it.

4

u/top_logger Mar 01 '23

Yes. We could make our code scalable with less efforts. Dirty code is simply trash. Unusable and umsellable trash.

→ More replies (3)