python without OO
Jeff Shannon
jeff at ccvcorp.com
Thu Jan 27 13:53:06 EST 2005
Davor wrote:
> so you get a nice program with separate data structures and functions
> that operate on these data structures, with modules as containers for
> both (again ideally separated). Very simple to do and maintain [...]
Replace "modules" with "classes" in the above quote, and you have the
very essence of object-oriented programming.
(What you describe here *is* object-oriented programming, you're just
trying to avoid the 'class' statement and use module-objects where
'traditional' OO would use class instances.)
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list