Organisation of python classes and their methods

Steven D'Aprano steve+comp.lang.python at
Sat Nov 3 02:38:55 CET 2012

On Fri, 02 Nov 2012 09:08:07 +0100, Martin Hewitson wrote:

> Even if one takes reasonable numbers: 20 methods, each method has 20
> lines of documentation, then we immediately have 400 lines in the file
> before writing a line of code. It would seem much more natural to me to
> have these methods in their own file, grouped nicely in sub-directories.

Ewww. Ewww ewww ewww ewww. Just reading about it makes me feel dirty.

Seriously. That means any time you want to jump back and forth from one 
method to another method OF THE SAME CLASS, you have to change files. 


More information about the Python-list mailing list