Path: csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'exception': 0.04; 'preference': 0.05; 'subject:Python': 0.05; 'english,': 0.09; 'typed': 0.09; 'sat,': 0.14; 'sections': 0.14; '"if"': 0.16; 'blocks': 0.16; 'clause,': 0.16; 'declaration': 0.16; 'delimiters': 0.16; 'denote': 0.16; 'elsewhere.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'sentences.': 0.16; 'wrote:': 0.19; 'written': 0.21; '31,': 0.21; 'implicit': 0.21; 'please?': 0.21; 'header:In-Reply-To:1': 0.22; 'fairly': 0.23; 'message-id:@mail.gmail.com': 0.24; 'character': 0.26; 'definition': 0.26; 'seems': 0.27; 'casual': 0.28; 'colon': 0.28; "i'm": 0.29; 'received:209.85.210.174': 0.30; 'received :mail-iy0-f174.google.com': 0.30; 'received:209.85': 0.32; 'goes': 0.32; 'received:google.com': 0.32; 'code': 0.32; 'actual': 0.33; 'received:209.85.210': 0.33; 'am,': 0.34; 'mean': 0.34; 'to:addr :python-list': 0.35; 'possible': 0.35; 'received:209': 0.35; 'should': 0.35; 'text': 0.35; 'pretty': 0.36; 'easily': 0.36; 'but': 0.37; 'too.': 0.37; 'subject:: ': 0.37; 'to:addr:python.org': 0.39; 'where': 0.39; 'header:Received:5': 0.40; 'sure': 0.40; 'large': 0.40; '2012': 0.62; 'natural': 0.64; 'frequently': 0.65; 'bodies,': 0.84; 'construct': 0.84; 'nathan': 0.84; 'notion': 0.84; 'same,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=FKtqJNPOz27wMgLbB0bQ4fQWbDgEp+oYeF687AsI6DA=; b=wRWMdAZLmstX+nygKyUqXdiJ7x17cSQfEp0/hOD3puVbss/2UAw1lUicMB8aGVxfSn oeeLQXxkedvOgu2KunfInlDw50sWvLSNW5oWvnzE4BKvb+/xd5dIfirrrIviib3bIAf7 P2wwDX4rNL0fICSpZExCS5sYeUCho0Y71VxyyhDmNExjcu5VfIDJ6HkYXzMn6HYaVSIS BgXph81k5dotjrBU8WCD30v6Su4zC0abwRb7YAfJIraaqtdyeNv6eHrlu3Ar0JYZJ9Ws pTWROQhW6t7K781IWxkoEA3MIkXgs9WiwGRfUSHh/H3WQQ1wEtnGSmav0RJ2489XyCsk 7w7g== MIME-Version: 1.0 In-Reply-To: References: <4f612b19$0$1379$4fafbaef@reader2.news.tin.it> <4f750f9f$0$29981$c3e8da3$5496439d@news.astraweb.com> <4f752a3a$0$29981$c3e8da3$5496439d@news.astraweb.com> <4f758f43$0$29981$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 31 Mar 2012 19:05:41 +1100 Subject: Re: Python is readable From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333181144 news.xs4all.nl 6854 [2001:888:2000:d::a6]:47377 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22414 On Sat, Mar 31, 2012 at 10:01 AM, Nathan Rice wrote: > It seems to me that Indented blocks of text are used pretty frequently > to denote definition bodies, section subordinate paragraphs and > asides. =A0The use of the colon seems pretty natural too. =A0Parentheses > are fairly natural for small asides. =A0The notion of character > delimiters for large sections of text is actually pretty unnatural > with the exception of =A0quotes. Perhaps in formal written English, but not in spoken, and often not in casual writing either. Play around with my actual example, an "if" clause, and see where the punctuation goes in English - and how easily you can construct ambiguous sentences. > I don't like declarations, my personal preference is to have typed > signatures, and implicit declaration with type inference elsewhere. =A0I > view it as a matter of personal preference though, the result should > be the same, and it should be possible to view the code either way. I'm not sure what you mean by "typed signatures", can you elaborate please? ChrisA