Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'received:verizon.net': 0.07; 'terry': 0.07; 'url:bitbucket': 0.07; 'presume': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:book': 0.09; 'am,': 0.12; 'sections': 0.13; 'bizarre': 0.16; 'declares': 0.16; 'java.': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'slightly': 0.19; 'jan': 0.19; 'java': 0.20; 'later': 0.21; 'obviously': 0.23; 'header:In- Reply-To:1': 0.23; 'testing': 0.24; 'code': 0.25; 'bit': 0.28; 'looks': 0.28; 'lines': 0.30; 'url:src': 0.30; 'subject:?': 0.31; '2009': 0.31; 'version': 0.31; 'to:addr:python-list': 0.32; 'actually': 0.33; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.33; 'supposed': 0.35; 'object': 0.35; 'but': 0.37; 'received:org': 0.37; 'chapter': 0.38; 'perhaps': 0.38; 'url:org': 0.38; 'progress': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'subject:Design': 0.73; 'subject:Your': 0.78; 'andrea': 0.84; 'subject:view': 0.91; 'touched': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Design Pattern and Python: Any book recommendation? Your view? Date: Fri, 04 Nov 2011 15:45:26 -0400 References: <6097694.446.1320366784098.JavaMail.geo-discussion-forums@prap37> <4EB3DE92.7040108@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: <4EB3DE92.7040108@gmail.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1320435953 news.xs4all.nl 6846 [2001:888:2000:d::a6]:52953 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15353 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