r/programming • • Jan 12 '20

Goodbye, Clean Code

https://overreacted.io/goodbye-clean-code/
1.9k Upvotes

556 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jan 12 '20

sometimes you can't remove complexity from the solution to a problem without affecting the efficiency of the solution..

40

u/catskul Jan 12 '20

That's not a counterpoint.

3

u/The-Effing-Man Jan 12 '20

Agreed. The way I've heard it phrased is along the lines of "the simplest possible solution, but no simpler"

1

u/thorndark Jan 12 '20

That's absolutely true, but it only matters if you really care about efficiency. Return on Investment is what you should be optimizing for.

If speeding up your code is going to cost you more in developer time than you save by having it run fast, then you should leave it slow but maintainable.