Re:You do not need inheritance with OOP
by karmakaze on Wednesday November 09, 2022 @12:29PM
(#33534916)
I recognized the limitations of class- rather than object-based OOP early on and was glad to find out that's not what OOP was meant to be. Now I understand when people say OOP they mean class inheritance and not much else. Still useful for graphical widgets and some other places where inheritance works well.
Re:You do not need inheritance with OOP
by pjmlp on Wednesday November 09, 2022 @01:37PM
(#33535955)
Alan Kay defined one way of doing OOP, which was already a departure from Simula, and both of them are two measure data points on the OOP tree of language design.
Most mass users don't have PhD papers in language research, and whatever most think is wrong.
Re:You do not need inheritance with OOP
by coldtea on Thursday November 10, 2022 @04:40AM
(#33544229)
>Most mass users don't have PhD papers in language research, and whatever most think is wrong.
Not when it comes to language. In language what most people mean / refer to with a term is what the term means (not what the one who introduced the word meant, or what the etymology of the word is, or the "original meaning" and so on) - and people with PhD's in linguistics agree.
Which is neither here, nor there. It's how OOP is thought of and practiced in real life by the statistically significant majority, so that's above what Alan Kay thought it should be or what SIGPLAN or the ACM or IEEE thinks "how an OOP language is supposed to be".
Terms take their meaning from actual mass usage, not from their inventors or what researchers think they should refer to.