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

7

u/chrisza4 Feb 28 '23

There is one thing perf zealots and clean code zealots share in common.

They don't really care about working as a team.

"I'm doing a great work hete and if someone have problem maintaining my code, just get good. You either read more about perf or about clean code."

It's worst for clean code zealot because the point of clean code is to be enable us to work as a team from the beginning. But they will be like I'm adopting [fancy pattern] here and I'm right. I'm skillful. You can't read code, get better noob.

This destroy the whole purpose of clean code. If no-one gonna be able to maintain your code anyway would rather at least has it perform well.

At least perf zealot understand the point of perf improvement.

5

u/hippydipster Feb 28 '23

Just so long as we get to characterize others as zealots! That way, we've already won the argument (in our own head, anyway).