About classes and OOP in Python

Fredrik Lundh fredrik at pythonware.com
Tue Apr 11 04:39:56 EDT 2006


Ben Sizer wrote:

> I think it's important not to wrongly confuse 'OOP' with ''data hiding'
> or any other aspect you may be familiar with from Java or C++. The
> primary concept behind OOP is not buzzwords such as abstraction,
> encapsulation, polymorphism, etc etc, but the fact that your program
> consists of objects maintaining their own state, working together to
> produce the required results, as opposed to the procedural method where
> the program consists of functions that operate on a separate data set.

+1 QOTW

</F>






More information about the Python-list mailing list