Re: Pythonic design patterns

2008-12-06 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : Hallo, users in this forum has been kind enough to point out. Only my implementations are often not that clean, and I may call things something different than the normal convention, which is a source of confusion for myself and others trying to communicate with me. I

Re: Pythonic design patterns

2008-12-06 Thread r . grimm
Hallo, > users in this forum has been kind enough to point out. Only my > implementations are often not that clean, and I may call things > something different than the normal convention, which is a source of > confusion for myself and others trying to communicate with me. I think, you should start

Re: Pythonic design patterns

2008-12-04 Thread Bruno Desthuilliers
Slaunger a écrit : Thank you all for sharing your views, links and suggestions on my question. I see where this is getting, and I have extracted the following points: 1. Many classic design patterns, especially the creational ones (Factory, etc.) aren't really that useful in Python as the built-

Re: Pythonic design patterns

2008-12-04 Thread Slaunger
Thank you all for sharing your views, links and suggestions on my question. I see where this is getting, and I have extracted the following points: 1. Many classic design patterns, especially the creational ones (Factory, etc.) aren't really that useful in Python as the built-in features in the la

Re: Pythonic design patterns

2008-12-04 Thread Ned Deily
In article <[EMAIL PROTECTED]>, Slaunger <[EMAIL PROTECTED]> wrote: > I was therefore wondering if you could recommend a book or a resource > concerning design patterns with special focus on the possibilities in > Python? Check out any or all of Alex Martelli's talks on Python Design Patterns (

Re: Pythonic design patterns

2008-12-04 Thread Marco Mariani
George Sakkis wrote: This is all very good, but don't drink the design pattern Kool-Aid and start pushing design patterns everywhere. (Not everything needs to be a singleton. No, really.) Obligatory reading: http://www.mortendahl.dk/thoughts/blog/view.aspx?id=122 By the way, it's a fact that

Re: Pythonic design patterns

2008-12-04 Thread George Sakkis
On Dec 4, 10:02 am, Steven D'Aprano <[EMAIL PROTECTED] cybersource.com.au> wrote: > On Thu, 04 Dec 2008 01:09:08 -0800, Slaunger wrote: > > I find myself spending a lot of time in Python making some designs, to > > solve some task, which is the end turn out to be closely related to well > > establi

Re: Pythonic design patterns

2008-12-04 Thread Steven D'Aprano
On Thu, 04 Dec 2008 01:09:08 -0800, Slaunger wrote: > I find myself spending a lot of time in Python making some designs, to > solve some task, which is the end turn out to be closely related to well > established design patterns / programming idioms, which other users in > this forum has been kin

Re: Pythonic design patterns

2008-12-04 Thread Gerhard Häring
Slaunger wrote: > Hi comp.lang.python > > I am this novice Python programmer, who is not educated as a computer > scientist (I am a physicist), and who (regrettably) has never read the > GOF on design patterns. [...] > I guess I could boost my productivity by learning these well-proven > and well

Re: Pythonic design patterns

2008-12-04 Thread Michele Simionato
On Dec 4, 11:00 am, James Stroud <[EMAIL PROTECTED]> wrote: > > The cookbook has a lot of complex examples and may not provide you with > the insight you are looking for. Only a small fraction of the recipes do > this. Whereas I agree that the online cookbook has too many complex recipes, as far I

Re: Pythonic design patterns

2008-12-04 Thread James Stroud
Slaunger wrote: Hi comp.lang.python I was therefore wondering if you could recommend a book or a resource concerning design patterns with special focus on the possibilities in Python? In that manner I may be able to both learn programming more pythonic AND learn the design patterns. -- Slaunger

Re: Pythonic design patterns

2008-12-04 Thread Michele Simionato
On Dec 4, 10:09 am, Slaunger <[EMAIL PROTECTED]> wrote: > Hi comp.lang.python > > I am this novice Python programmer, who is not educated as a computer > scientist (I am a physicist), and who (regrettably) has never read the > GOF on design patterns. > > I find myself spending a lot of time in Pyth