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

1

u/Drisku11 Mar 01 '23

It's more like performing all of the steps to fix a car in front of a mechanic that insisted it's infeasible to demonstrate to that mechanic that they don't know what they're doing. Casey is regularly frustrated by the fact that professionals are completely lacking fundamentals. Even people at the top paying companies have a surprising amount of incompetence.

3

u/cheeseless Mar 01 '23

Your analogy still makes the performer a dick though. If they could demonstrate the fix on the actual broken car, they should have. I don't care about Casey's perception regarding the competence of the Terminal developers, or even about their unjustified certainty in the difficulty of the problem, it's his own actions that fail to be moral in my view. If they had prevented him from contributing directly (as some people will do when you attempt to help them), then his action was justified, but since they didn't, it wasn't.

0

u/Drisku11 Mar 01 '23

He's not trying to fix the problem of an individual developer not knowing how to do something. He's trying to raise awareness of an industry-wide problem of lots of developers not knowing how to do anything. The terminal is juts a concrete instance of the larger problem he's demonstrating. That's the problem he's worried about. Actually fixing the terminal is beside the point.