YADTR (Yet Another DateTime Rant)

Roy Smith roy at panix.com
Fri Mar 28 09:22:15 EDT 2014


In article <mailman.8667.1396012782.18130.python-list at python.org>,
 Chris Angelico <rosuav at gmail.com> wrote:

> On Sat, Mar 29, 2014 at 12:10 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> > If encapsulation exists outside OO and inheritance is not key to it,
> > what is OO then, a marketing term?
> >
> 
> Yep, OO is a marketing term. So's programming - after all, it's just
> flipping bits in memory... we only pretend it means anything. Do I
> really exist, or do I just think I do?
> 
> ChrisA

The real question is, what does this print:

c1 = ChrisA()
c2 = ChrisA()
print c1 == c2
print c2 is c2



More information about the Python-list mailing list