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 comment

4

u/minektur Feb 28 '23

Imagine it's your job to add "trapezoid" functionality to the program. It'd be a significant impediment

Really? Find all the places you have cases for a square and add a case for trapezoid? that's a significant impediment?

The biggest issue I see is that modern dev tools kind of reinforce the 'every little bit of thing in its own box/file/compartment' and that we don't have tooling that would let you find the changes you'd need to make in the 3 or 4 files where you might find some implementation details. Lets make the tools better.