Why NOT only one class per file?
Chris Lasher
chris.lasher at gmail.com
Sun Apr 8 22:41:54 EDT 2007
On Apr 4, 5:23 pm, "Chris Lasher" <chris.las... at gmail.com> wrote:
> A friend of mine with a programming background in Java and Perl places
> each class in its own separate file in . I informed him that keeping
> all related classes together in a single file is more in the Python
> idiom than one file per class. He asked why, and frankly, his valid
> question has me flummoxed.
>
> [snip]
>
> Thoughts, comments, and insight much appreciated,
> Chris
Thanks to all who replied and made this a very interesting and
informative discussion! It gave my friend, and myself, plenty to think
about.
Much appreciated,
Chris
More information about the Python-list
mailing list