Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'dynamically': 0.07; 'statically': 0.07; 'exercising': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:while': 0.09; 'typed': 0.09; 'python': 0.11; 'key?': 0.16; 'parentheses': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:program': 0.16; 'superfluous': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'typing': 0.19; 'code,': 0.22; 'header:User-Agent:1': 0.23; 'conjunction': 0.24; 'url:moin': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'code': 0.31; 'url:wiki': 0.31; 'languages': 0.32; 'url:python': 0.33; 'programmers': 0.33; 'could': 0.34; 'test': 0.35; "i'll": 0.36; 'url:org': 0.36; 'should': 0.36; 'effort': 0.37; 'e.g.': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'days': 0.60; 'read': 0.60; 'reaching': 0.61; 'simply': 0.61; "you're": 0.61; 'more': 0.64; 'charset:windows-1252': 0.65; 'enjoy': 0.71; 'subject:First': 0.74; 'aspect.': 0.84; 'received:2': 0.84; 'whereas': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: First python program, syntax error in while loop Date: Tue, 07 May 2013 07:10:28 +0100 References: <24c5856e-a30a-41bd-aa4a-0e594734e1f8@googlegroups.com> <163bd508-f225-4b4d-8173-1e070c5d5aad@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-2-98-196-142.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: X-Antivirus: avast! (VPS 130506-1, 06/05/2013), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367907044 news.xs4all.nl 15940 [2001:888:2000:d::a6]:59861 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44874 On 07/05/2013 01:17, alex23 wrote: > On May 6, 10:37 pm, Mark Lawrence wrote: >> One of these days I'll work out why some people insist on using >> superfluous parentheses in Python code. Could it be that they enjoy >> exercising their fingers by reaching for the shift key in conjunction >> with the 9 or 0 key? > > One of these days I'll work out why some programmers consider typing > to be "effort". > I think it's very important to consider this aspect. E.g. any one using dynamically typed languages has to put in more effort as they should be typing up their test code, whereas people using statically typed languages can simply head down to the pub once their code has compiled. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence