3 ms·
We don't disagree at all by the looks of it. I was objecting (lol!) to the description of OO as code and data together. _Together_ doesn't carry the necessary w
by hurril 3y ago
We don't disagree at all by the looks of it. I was objecting (lol!) to the description of OO as code and data together. _Together_ doesn't carry the necessary weight here because a struct and a module of functions in the same file is also code and data together.
It's that the receiver of those messages have an identity that defines it.
Inheritance and polymorphim is of course central to OO, but it's not defining characteristics imho because inheritance is "module arithmetic" and polymorphism has plenty of flavours.
(I am in no way trying to have a go at OO either.)