Roy Smith <r...@panix.com>:

> I'm not sure how "decoupling internal representation from external 
> behavior" is substantially different from encapsulation.

Yes, that's encapsulation. The idea of encapsulation is older than OO.

> And, no, I don't think inheritance is a fundamental characteristic of
> OOD, nudge nudge.

Inheritance was there with Simula so I think it's high up there with OO.

If encapsulation exists outside OO and inheritance is not key to it,
what is OO then, a marketing term?

(It's a different thing, then, that encapsulation and inheritance are
mutually exclusive principles.)


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to