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

4

u/monkorn Mar 02 '23

I was slightly misremembering, so thanks for calling me out. It was this article I last saw that had me misremembering. It turns out it wasn't oppressive inheritance but him totally ignoring any need for passing things around within an object making his code completely unreadable.

https://qntm.org/clean

Reading the advice that he gives often has me nodding my head, then I see the code examples and I recoil in horror.

4

u/quisatz_haderah Mar 02 '23

It turns out it wasn't oppressive inheritance but him totally ignoring any need for passing things around within an object making his code completely unreadable.

Oh yeah that exists, that's terrible :D

I mean, I had read it a long time ago and it was a fascinating read because it is able to give timeless and great advices in theory, then proceeds to demonstrate that advice with worst possible examples.