2 ms·
> I feel people don't understand ... > For me ... Sorry, but right off the bat this is just painting you as an example of "There are N camps, and each camp de
by BeetleB 3y ago
> I feel people don't understand ...
> For me ...
Sorry, but right off the bat this is just painting you as an example of "There are N camps, and each camp declares the other camp as wrong."
Yes, that's what inheritance is for you. For others it is something else. Why is your way the one that "correctly understands" it?
The article itself covers this - that some languages have lumped 3 different concepts into one that they call inheritance, leading to the different camps and comments like yours. Your camp is specifically mentioned:
> Abstract data type inheritance is about substitution: this thing behaves in all the ways that thing does and has this behaviour (this is the Liskov substitution principle)