A design problem I met again and again.

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Thu Apr 2 02:28:04 EDT 2009


On Thu, 02 Apr 2009 18:47:29 +1300, Lawrence D'Oliveiro wrote:

>>> The question is not how many lines or how many methods, but whether it
>>> makes sense to remain as one piece or not. In one previous project, I
>>> had one source file with nearly 15,000 lines in it. Did it make sense
>>> to split that up? Not really.
>> 
>> What are the average size of source files in your project?   If it's
>> far lower than 15,000,  don't feel it's a little unbalance?
> 
> Why?

If you have too much code in one file, it will upset the balance of the 
spinning hard drive platter, and it will start to wobble and maybe even 
cause a head-crash.



-- 
Steven



More information about the Python-list mailing list