Organisation of python classes and their methods

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Nov 2 09:40:06 CET 2012


On 02/11/2012 08:08, 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. But it seems this is not the python way. Sigh.
>
> Thanks for your thoughts,
>
> Martin
>

20 lines of documentation per method?  As far as I'm concerned that's 
not a smell, that's a stink.

-- 
Cheers.

Mark Lawrence.



More information about the Python-list mailing list