Pythonic design patterns

Gerhard Häring gh at
Thu Dec 4 14:13:37 CET 2008

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-established design patterns by heart.

At least for me I only getter better by actually training. For
programming this means: write code. Revisit it later, improve on it.

Of course one often wants to apply all cool new tricks you've learnt.
That's normal, but remember:

Brian Kernighan Law of Debugging Difficulty

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it. -- Brian Kernighan


> I was therefore wondering if you could recommend a book or a resource
> concerning design patterns with special focus on the possibilities in
> Python? [...]

I have this in my bookmarks:

-- Gerhard

More information about the Python-list mailing list