YADTR (Yet Another DateTime Rant)

Roy Smith roy at panix.com
Fri Mar 28 09:20:18 EDT 2014


In article <871txmwjt4.fsf at elektro.pacujo.net>,
 Marko Rauhamaa <marko at pacujo.net> wrote:

> what is OO then, a marketing term?

Sometimes, I think it must be :-)

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

There're certainly not mutually exclusive.  Mutually exclusive means if 
you have one, you can't have the other.

I think the phrase you're looking for is "orthogonal concepts".  You can 
have either, or both, or neither, and the existence of one doesn't imply 
anything about the existence of the other.



More information about the Python-list mailing list