Re:Brad Cox: when OOP was about “Software-ICs” and micro-tra...
by MaxBarraclough on Saturday December 21, 2019 @06:28PM
(#21853954)
Prototype-based OO is a form of inheritance.
> there's really only two things that are truly common: object identity, and some form of dynamic dispatch based on that. Everything else - inheritance, encapsulation etc - is optional.
That's a broader definition than I had in mind, but I can see where you're coming from.
If you look at the entire breadth of OO languages and see what they have in common, there's really only two things that are truly common: object identity, and some form of dynamic dispatch based on that. Everything else - inheritance, encapsulation etc - is optional.