About one class/function per module

alex23 wuwei23 at gmail.com
Sun Nov 1 20:02:33 EST 2009


On Nov 2, 8:11 am, Peng Yu <pengyu... at gmail.com> wrote:
> I prefer organized my code one class/function per file (i.e per module
> in python). I know the majority of programmers don't use this
> approach. Therefore, I'm wondering what its disadvantage is.

You mean, what disadvantages it has _other_ than the ones you've been
experiencing?

Aren't those enough to warrant actually working with Python's import
mechanism rather than against it?




More information about the Python-list mailing list