Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'definitions': 0.07; '#define': 0.09; 'booth': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'remembered': 0.16; 's/he': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'code,': 0.22; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'sep': 0.31; 'subject:end': 0.31; 'style': 0.33; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; '2013': 0.98 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; bh=J/xCT0Na0S6ioE0u4i+CowxZgjIcsRlaplsgEcKj4Dc=; b=oK3y4248drfVmVj5rgjNAC7uACRHBRp+H3p47G9z5AQ//R0lkVuhcwZmgE+sqdPQGx oWsviX1/CKKWc8SfGs6q9D7zy2pc3xfnOB0WCdRc4xxsvExhp938ihPNb0MnCplVN86U GmbRU9GkM0ef1WrMW+fS9a9vwdd0wDZP3bV4PwDWtD4xC4DrRDp43DGRJVuFc4oGEiOL nlcrOCzIsUSRHCddhcpqZLcKKcOtZq2127tGNTYb5B+OgXQ0nO4a0y9rgGmFGG9oAsTx ZtZdWWebhJRSGpxRKr3FR9trC7nMoZ+OPF9kKy7awB7y7mQE64O9gpTZzlAvyEsPDhmP 44qw== MIME-Version: 1.0 X-Received: by 10.220.43.19 with SMTP id u19mr5378085vce.3.1378382571764; Thu, 05 Sep 2013 05:02:51 -0700 (PDT) In-Reply-To: References: <1377735506.18906.15.camel@debian> Date: Thu, 5 Sep 2013 22:02:51 +1000 Subject: Re: semicolon at end of python's statements From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378382574 news.xs4all.nl 15950 [2001:888:2000:d::a6]:35012 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53693 On Thu, Sep 5, 2013 at 9:33 PM, Duncan Booth wrote: > Someone I knew actually used these definitions when writing C in a Pascalish, Algol68ish > style (if I remembered them correctly): > > #define IF if((( > #define AND ))&&(( > #define OR )||( > #define THEN ))){ > #define ELSE }else{ > #define FI } Because s/he thought it made for better code, or as a joke? Usually I see this sort of thing as the latter... ChrisA