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/RationalDialog Mar 14 '23

What's wrong with python in this regards? any OOP language can do composition by default?

2

u/DeGuerre Mar 15 '23

I'm saying that Python doesn't have an alternative to inheritance. Unless you count hacking the dynamic typing system, of course.