Organizing Code - Packages

Wildemar Wildenburger lasses_weil at klapptsowieso.net
Fri Sep 7 15:04:28 EDT 2007


Paul Rudin wrote:
> xkenneth <xkenneth at gmail.com> writes:
> 
>>> Ah, yes, a couple of things:
>>> - avoid the 'one-class-per-file' syndrom. It's perfectly ok to have tens
>> Yes but i find it hard to edit classes easily when I have more than
>> one class per file.
> 
> Why?
Scroll-Blindness would be a good reason.

It would however be completely rediculous to create a file for every 
10-liner class you have (and I have found that Python classes tend to be 
rather short).

/W



More information about the Python-list mailing list