Encapsulation, inheritance and polymorphism
rosuav at gmail.com
Thu Jul 19 07:09:43 CEST 2012
On Thu, Jul 19, 2012 at 11:22 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> On Thu, 19 Jul 2012 01:04:50 +1000, Chris Angelico wrote:
>> Python isn't object oriented in the way Java is ("EVERYTHING has to be
>> in a class! Look, it's all OO now!").
> Actually, Python is more object-oriented than Java. In Python, everything
> is an object. We have no distinction between boxed and unboxed integers,
> for example -- all integers are boxed, always.
That was my point. Less hype about OO but everything really is an object.
More information about the Python-list