Re: Django as exemplary design

2010-05-13 Thread Lawrence D'Oliveiro
In message , Aahz wrote: > My suspicion is that very very few medium/large systems are truly > "well-designed". Conway’s law applies: the product of any human endeavour reflects the organizational structure that produced it. If the individuals/groups writing the different parts of the software

Re: Django as exemplary design

2010-05-13 Thread Lawrence D'Oliveiro
In message , MRAB wrote: > Albert Hopkins wrote: > >> On Thu, 2010-05-06 at 16:38 -0700, Patrick Maupin wrote: >> >>> I don't know how this applies to reading other peoples' code, but >>> recent research shows we learn more from success than failure >> >> That's good to learn, because for years

Re: Django as exemplary design

2010-05-09 Thread Paul Kölle
Am 07.05.2010 04:48, schrieb TomF: On 2010-05-06 18:20:02 -0700, Trent Nelson said: I'm interested in improving my python design by studying a large, well-designed codebase. I'll tell you one of the best ways to improve your Python code: attend one of Raymond Hettinger's Code Clinic workshops

Re: Django as exemplary design

2010-05-07 Thread Aahz
In article <2010050619481239450-tomfsess...@gmailcom>, TomF wrote: > >I don't doubt it. But I'm not really interested in line (micro) level >code issues at the moment. Not that my code couldn't stand being >improved, but I'm more interested in seeing how medium/large OO python >systems are de

Re: Django as exemplary design

2010-05-06 Thread TomF
On 2010-05-06 18:20:02 -0700, Trent Nelson said: I'm interested in improving my python design by studying a large, well-designed codebase. I'll tell you one of the best ways to improve your Python code: attend one of Raymond Hettinger's Code Clinic workshops at a Python conference and put some

RE: Django as exemplary design

2010-05-06 Thread Trent Nelson
> I'm interested in improving my python design by studying a large, > well-designed codebase. I'll tell you one of the best ways to improve your Python code: attend one of Raymond Hettinger's Code Clinic workshops at a Python conference and put some up of your work up on the projector for 20+ deve

Re: Django as exemplary design

2010-05-06 Thread MRAB
Albert Hopkins wrote: On Thu, 2010-05-06 at 16:38 -0700, Patrick Maupin wrote: I don't know how this applies to reading other peoples' code, but recent research shows we learn more from success than failure That's good to learn, because for years I have been intentionally failing in order to

Re: Django as exemplary design

2010-05-06 Thread Albert Hopkins
On Thu, 2010-05-06 at 16:38 -0700, Patrick Maupin wrote: > I don't know how this applies to reading other peoples' code, but > recent research shows we learn more from success than failure That's good to learn, because for years I have been intentionally failing in order to learn from it and beco

Re: Django as exemplary design

2010-05-06 Thread Patrick Maupin
On May 4, 5:34 pm, TomF wrote: > On 2010-05-04 07:11:08 -0700, alex23 said: > > (I also think there's value to be gained in studying _bad_ code, > > too...) > > True, although whether that's time well spent is another question. I don't know how this applies to reading other peoples' code, but rec

Re: Django as exemplary design

2010-05-06 Thread Aahz
In article <4be132f1$0$20639$426a7...@news.free.fr>, Bruno Desthuilliers wrote: > >The more bad code (mine or not) I have to maintain (or even just read >and understand), the more I pay attention to my own design and code >quality. Sometimes you only understand why something is bad, why it is

Re: Django as exemplary design

2010-05-05 Thread Bruno Desthuilliers
TomF a écrit : On 2010-05-04 07:11:08 -0700, alex23 said: (snip) (I also think there's value to be gained in studying _bad_ code, too...) True, although whether that's time well spent is another question. The more bad code (mine or not) I have to maintain (or even just read and understand

Re: Django as exemplary design

2010-05-04 Thread TomF
Thanks to everyone for their comments. On 2010-05-04 07:11:08 -0700, alex23 said: TomF wrote: I'm interested in improving my python design by studying a large, well-designed codebase.  Someone (not a python programmer) suggested Django.  I realize that Django is popular, but can someone commen

Re: Django as exemplary design

2010-05-04 Thread Carl Banks
On May 4, 12:37 am, Bruno Desthuilliers wrote: > TomF a écrit : > > > I'm interested in improving my python design by studying a large, > > well-designed codebase.  Someone (not a python programmer) suggested > > Django.  I realize that Django is popular, but can someone comment on > > whether its

RE: Django as exemplary design

2010-05-04 Thread Michael . Coll-Barth
> From: alex23 > (I also think there's value to be gained in studying _bad_ code, > too...) Oh, very true. And not just true for python. But, only if an 'expoert' points out why it is bad and provides an alternative. And saying things like, "it isn't pyhonic" or that such and such is a more "

Re: Django as exemplary design

2010-05-04 Thread alex23
TomF wrote: > I'm interested in improving my python design by studying a large, > well-designed codebase.  Someone (not a python programmer) suggested > Django.  I realize that Django is popular, but can someone comment on > whether its code is well-designed and worth studying? Here's a viewpoint

Re: Django as exemplary design

2010-05-04 Thread Bruno Desthuilliers
TomF a écrit : I'm interested in improving my python design by studying a large, well-designed codebase. Someone (not a python programmer) suggested Django. I realize that Django is popular, but can someone comment on whether its code is well-designed and worth studying? Carl makes some v

Re: Django as exemplary design

2010-05-03 Thread Carl Banks
On May 3, 12:24 pm, TomF wrote: > I'm interested in improving my python design by studying a large, > well-designed codebase.  Someone (not a python programmer) suggested > Django.  I realize that Django is popular, but can someone comment on > whether its code is well-designed and worth studying?