About one class/function per module

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Mon Nov 2 03:55:57 EST 2009


Gabriel Genellina a écrit :
>>> 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.
>>>
(snip)
> You may put one class per file, nobody forbids that

But anyone having to work on your code will hate you.



More information about the Python-list mailing list