Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; 'operator': 0.04; 'subject:Python': 0.05; 'readable': 0.09; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'readability.': 0.16; 'syntax': 0.16; 'wrote:': 0.18; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'moreover,': 0.23; "python's": 0.24; 'putting': 0.28; 'anyway.': 0.29; 'pm,': 0.29; 'message- id:@gmail.com': 0.31; 'cases': 0.32; 'words,': 0.32; "isn't": 0.33; 'there': 0.33; 'header:User-Agent:1': 0.33; 'too': 0.33; 'belong': 0.34; 'normally': 0.34; 'certain': 0.34; 'all.': 0.34; 'to:addr:python-list': 0.35; 'received:org': 0.36; 'but': 0.37; 'received:192': 0.38; 'format': 0.38; 'think': 0.38; 'to:addr:python.org': 0.40; 'your': 0.61; '01:40': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Thu, 15 Mar 2012 16:12:28 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.16 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python is readable References: <4f612b19$0$1379$4fafbaef@reader2.news.tin.it> <8e72d74f-c844-4de3-8a37-f6b1fdc2291f@y27g2000yqy.googlegroups.com> <50e9ceec-40f1-4ead-b2b6-87328b30d084@ow8g2000pbc.googlegroups.com> <4f61c828$0$1390$4fafbaef@reader2.news.tin.it> <4f61d728$0$1375$4fafbaef@reader2.news.tin.it> <4f61fa8a$0$1381$4fafbaef@reader2.news.tin.it> <4f6202cb$0$1377$4fafbaef@reader2.news.tin.it> <4f6245c5$0$1384$4fafbaef@reader2.news.tin.it> In-Reply-To: <4f6245c5$0$1384$4fafbaef@reader2.news.tin.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1331849562 news.xs4all.nl 6931 [2001:888:2000:d::a6]:34744 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21717 On 03/15/2012 01:40 PM, Kiuhnm wrote: > Moreover, I think that > if (............ > ............ > ............): > ............ > ............ > ............ > is not very readable anyway. Sure but neither is if (............ \ ............ \ ............) ............ ............ ............ In other words, with or without the : if you format your if statements in an unreadable way, it will be unreadable. Nothing to do with python's syntax at all. Now, if ............ ............ ............: ............ ............ ............ isn't too bad for readability. In other words the C-ism of putting the IF predicate in parenthesis normally doesn't belong in python, though there are cases when you need to enforce a certain operator precedence, granted.