Design Pattern and Python: Any book recommendation? Your view?

Terry Reedy tjreedy at udel.edu
Fri Nov 4 15:45:26 EDT 2011


On 11/4/2011 8:46 AM, Andrea Crotti wrote:

> Well this book is work in progress

Though not touched since May 2009

> https://bitbucket.org/BruceEckel/python-3-patterns-idioms/src
>
> but it actually looks very interesting

The slightly older .pdf version is a bit bizarre as parts of both text 
and code are only half-translated from Java. The testing chapter 
contains obviously untested code like TestDemo.py [sic] with Java lines like
    id = ++objCounter  # this is supposed to increment objCounter
    TestDemo test1 = TestDemo('test1')
    # I presume this declares test1 as a TestDemo object
and text with Javaisms like *static*, *public*, *private*, *protected*, 
and *friendly* and "a little review of Java packages".

Perhaps the later sections are more useful.

-- 
Terry Jan Reedy




More information about the Python-list mailing list