OOP only in modules

Andrea Crotti andrea.crotti.0 at gmail.com
Sun Apr 10 12:57:54 CEST 2011


newpyth <newpyth at gmail.com> writes:

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

OOP makes like easier also to the user, if you don't like it write your
own non-OOP wrappers around the OOP functions ;)

But I think that you should probably use another language if you don't
like OOP so much...



More information about the Python-list mailing list