Re:Inheritance was invented as a performance hack
by pansa2 on Thursday April 29, 2021 @10:46PM
(#26989390)
> Code reuse is in fact a prime example of a misuse of inheritance
Does that depend on how inheritance works in a particular language? For example, in Python it’s widely believed that inheritance is simply “a tool for code reuse” [0].
Does that depend on how inheritance works in a particular language? For example, in Python it’s widely believed that inheritance is simply “a tool for code reuse” [0].
[0] https://youtu.be/EiOglTERPEo?t=190