Hacker News new | ask | show | jobs
by pansa2 1880 days ago
> 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].

[0] https://youtu.be/EiOglTERPEo?t=190