Is Python an object based programming langauge?

Aahz aahzpy at panix.com
Tue Mar 12 08:48:04 EST 2002


In article <roy-59D1B0.07392212032002 at news1.panix.com>,
Roy Smith  <roy at panix.com> wrote:
>
>I've got one guy I work with you insists python isn't OO for exactly one 
>reason: because it doesn't implement private variables.

Sure it does, it just implements them through convention rather than
through the language.  And it can be proven that e.g. C++ really doesn't
have private variables.
-- 
Aahz (aahz at pythoncraft.com)           <*>          http://www.pythoncraft.com/

The way to build large Python applications is to componentize and
loosely-couple the hell out of everything.



More information about the Python-list mailing list