lies about OOP

Paul McGuire ptmcg at austin.rr._bogus_.com
Wed Dec 15 01:45:26 CET 2004


"Roy Smith" <roy at panix.com> wrote in message
news:cpnstr$dca$1 at panix2.panix.com...
> I think the real reason Python is a better teaching language for
> teaching OO concepts is because it just gives you the real core of OO:
> inheritence, encapsulation, and association of functions with the data
> they act on.
>
> C++ has so much stuff layed on top of that (type bondage, access
> control, function polymorphism, templates) that it's hard to see the
> forest for the trees.  You get C++ jocks who are convinced that that
> stuff is part and parcel of OO, and if it doesn't have (for example),
> private data, it can't be OO.

+1, QOTW!! :)  (esp. "type bondage"!)





More information about the Python-list mailing list