> Spoken like a true Java person.
Bah, rumbled. :-) Although mostly C/C++ where having a source file with a lot of classes is considered a CodeSmell. I'm still finding my feet with what's considered Pythonic. It's funny - the language is a breeze to pick up but the change in philosophy takes a little getting used to. Still a bit worried about model.py getting unwieldy though... ;-) > > From: Jonathan LaCour <[EMAIL PROTECTED]> > Date: 2006/03/08 Wed PM 05:38:59 GMT > To: [email protected] > Subject: [TurboGears] Re: bike shed #2: controllers.py vs. controllers > > > > I'm really trying not to sound too preachy here (it's hard :-) ) > > but keeping lot's of classes inside a single file is just ... bad > > practice. > > Spoken like a true Java person. > > Its not at all bad practice in Python. Its very common and "flat is > better than nested" is generally accepted as a mantra in the Python > world. Take a look at the Python standard library, and tell me if > you still think its true :) > > I am also not trying to sound preachy, but I thought that this needed > clarification. > > > Nobody is complaining about the static directory. > > Of course not. You can't put a bunch of images in one file, can > you? You can't put a bunch of templates into one file, can you? > Totally different things, IMO. > > I still stand behind my +1 for controllers being a package, and -1 > for models being a package. > > -- > Jonathan LaCour > http://cleverdevil.org > > > > > ----------------------------------------- Email sent from www.ntlworld.com Virus-checked using McAfee(R) Software Visit www.ntlworld.com/security for more information --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

