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
--
http://mail.python.org/mailman/listinfo/python-list