YADTR (Yet Another DateTime Rant)
rustompmody at gmail.com
Fri Mar 28 14:30:17 CET 2014
On Friday, March 28, 2014 6:52:15 PM UTC+5:30, Roy Smith wrote:
> Chris Angelico wrote:
> > On Sat, Mar 29, 2014 at 12:10 AM, Marko Rauhamaa 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
OO is of course a marketing term
Unicode OTOH is the real cure for all diseases
Proof by example:
Replace the last with
print c2 ≡ c2
or even better
print c2 ≣ c2
No confusion any more...
See? We all know now who (what?) Chris is!
More information about the Python-list