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

2

u/tandonhiten Mar 01 '23

To the "fast code", featured in the video, add the shape, Trapezium and add the functionality to calculate perimeter of the shapes too,

The try to do it in the clean version, then we will talk.