Pythonic design patterns

George Sakkis george.sakkis at gmail.com
Thu Dec 4 10:17:20 EST 2008


On Dec 4, 10:02 am, Steven D'Aprano <st... at REMOVE-THIS-
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
> > established design patterns / programming idioms, which other 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 guess I could boost my productivity by learning these well-proven and
> > well-established design patterns by heart.
>
> 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

George



More information about the Python-list mailing list