Re: [SQLObject] Application Design Question
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2011-12-11 00:57:25
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |