Re:The Repeated Deaths of OOP (2015)
by valenterry on Sunday June 06, 2021 @07:32PM
(#27417363)
Doesn't 4 contradict 1? Or do you mean "can stand for one another in a certain context". That would be rather weak criteria then though.
[ Parent
| on HN ]
1 is about object identity. 4 is about object type/function. I.e. polymorphism.
It may seem like a weak criteria if you're using to OOP/FP languages that provide typesafe, efficient polymorphism out of the box. But the reason we have Obj C and C++ is that polymorphism (while also maintaining encapsulation etc.) is a living nightmare in a language like C.