Why NOT only one class per file?

Terry Reedy tjreedy at udel.edu
Wed Apr 4 19:56:31 EDT 2007


"Chris Lasher" <chris.lasher at gmail.com> wrote in message 
news:1175721799.714907.52770 at o5g2000hsb.googlegroups.com...
|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.

Ask him why he does not wear a straightjacket all the time.
It is great for one's posture ;-)






More information about the Python-list mailing list