software design question

Uwe Mayer merkosh at hadiko.de
Tue Feb 10 11:24:35 EST 2004


Lothar Scholz wrote:

>> Is 500 lines a good count to start splitting up the code?
> No !
> My modules are normally between 1000-3000 lines. Having to much files
> (worst case scenario is PHP) is just another form of spaghetti code.
> With so small files you should focus on the task that needs to be done
> and only if you really do two different things in one module you
> should decide to split it. Maybe a merge would help you more then
> splitting.

What IDE /Editor do you use? I currently use Emacs and I find it very hard
to skip back and forth between methods and functions in larger files.

Ciao
Uwe



More information about the Python-list mailing list