YADTR (Yet Another DateTime Rant)
Roy Smith
roy at panix.com
Fri Mar 28 08:30:11 EDT 2014
In article <533558fa$0$29994$c3e8da3$5496439d at news.astraweb.com>,
Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:
> > Yes. The whole idea of OOD is to decouple internal representation from
> > external behavior.
>
> The *whole* idea? You don't think that encapsulation and inheritance
> might also be involved? *wink*
I'm not sure how "decoupling internal representation from external
behavior" is substantially different from encapsulation. And, no, I
don't think inheritance is a fundamental characteristic of OOD, nudge
nudge.
More information about the Python-list
mailing list