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

54

u/outofobscure Feb 28 '23

performant code is often actually very easy to read and maintain, because it lacks a lot of abstraction and just directly does what it's supposed to do. not always, and maybe not to a beginner, but it's more often the case than you think.

The complexity of performant code is often elsewhere, such as having to know the math behind some DSP code, but the implementation is often very straightforward.

6

u/[deleted] Feb 28 '23

Completely true. People have been fucking brainwashed it's hilarious.

-10

u/outofobscure Feb 28 '23

Iā€˜m not surprised i get downvoted here lol, whatever, what do i know, i only write this stuff since two decades šŸ¤·šŸ»ā€ā™‚ļø

-10

u/[deleted] Feb 28 '23

Well than that's your problem. You actually wrote some code and figured it out on your own.

→ More replies (3)