Re: Application Design Question

Oleg Broytman <[email protected]>
Newsgroups gmane.comp.python.sqlobject
Message-ID <[email protected]>
Hi!

On Sat, Dec 10, 2011 at 02:47:44PM -0800, Glenn Rutkowski wrote:
> creating one .py file for each class, but it's turning out to be a mess 
> of include statements.

   He-he, Python is not Java!

> Going back to a single file makes for a HUGE 
> file which is manageable, but annoying when searching for particular code.

   You are choosing between two extreme solutions ("one class - one
file" and "all classes in one file") which IMHO are too extreme. Let me
advice to use something in between - use a few files. Put in one bed
things that naturally go together well, put in different files classes
that have no connection.

   Another advice would be to use pytags and a good IDE or at least an
editor that supports tags - that way you wouldn't spend much time
searching for names.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            [email protected]
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.