About classes and OOP in Python

Casey Hawthorne caseyhHAMMER_TIME at istar.ca
Tue Apr 11 14:20:13 EDT 2006


>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.

Isn't "inheritance" an important buzzword for OOP?
--
Regards,
Casey



More information about the Python-list mailing list