[Chicago] Looking for a well designed yet sizable project to read

Martin Maney maney at two14.net
Mon Mar 14 05:43:54 CET 2011

On Sun, Mar 13, 2011 at 09:43:56AM -0400, Brian Curtin wrote:
> On Mar 12, 2011 11:04 AM, "Tathagata Dasgupta" <tathagatadg at gmail.com>
> wrote:
> >
> > BTW, there seems to be a number of projects that exist like monolithic
> > .py file - is that good design?
> It's certainly not bad design - it just depends on the needs of your
> project. "Flat is better than nested" is a common theme in Python which
> applies to a lot of things - project layout included.

Yeah.  I've escaped from the tyranny of "real" OOD and now use whatever
mix of objects, functions, higher-order functions, and that Python
special, namespaces, that the work in hand seems to call for.  As the
design is proven it often becomes apparent where parts of it should
crystallize into objects, but starting with them...  well, I'm not
opposed in principle, just don't often feel moved to.  And always gotta
remember how easy it is to organize stuff in a namespace.  Classes are
a sometimes-useful special case of namespaces.  :-)

I'm not proud.  We really haven't done everything we could to
protect our customers ... Our products just aren't engineered
for security.  -- Brian Valentine, Microsoft Senior VP
                  in charge of the Windows development team

More information about the Chicago mailing list