On Sat, Mar 29, 2014 at 1:35 AM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
> It's difficult to pin-point exactly what characteristics of OOP are
> fundamental, but inheritance is surely one of them.

I've always understood OOP to be all about binding code and data
together (methods as part of an object, rather than functions
operating on data) - ie polymorphism, such that you say "do this" and
the object knows how its "do this" should be done. That's at least as
important as inheritance IMO.

But yes, it is very hard to pin it down.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to