OOP only in modules

newpyth newpyth at gmail.com
Sun Apr 10 12:35:48 CEST 2011


Hi all,
from the subject of my post, you can see I do not
like very much OOP... and I am not the only one...
Knowing that python is intrinsecally OO, I propose
to move all OOP stuff (classes, instances and so on)
to modules.
In this way the OOP fan can keep on using it, but
in a module recalled by import in the user script.
The advantage is that the user can call function and
methods by a well-known sintax. Not to mention the
sharp increase in re-usability of code...
Bye.



More information about the Python-list mailing list