One module per class, bad idea?

Paddy paddy3118 at netscape.net
Tue Dec 12 19:49:25 EST 2006


Isaac Rodriguez wrote:
> I will like to understand why this will not be a good idea for python,
> other than to make beautiful import statements that is.
>
> Thanks,
>
> - Isaac.
Read more Python source Isaac. especially for modules you like to use.
That way you see how others use modules and can decide for yourself.
As others have noted, people might not consider it good style if you
put lots of related, very small, classes in individual files. You can,
but it is not mandated by the interpreter.

- Paddy.




More information about the Python-list mailing list