Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53693

Re: semicolon at end of python's statements

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 <rosuav@gmail.com>
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 <XnsA2327F75D8838duncanbooth@127.0.0.1>
References <1377735506.18906.15.camel@debian> <mailman.333.1377736286.19984.python-list@python.org> <XnsA2327F75D8838duncanbooth@127.0.0.1>
Date Thu, 5 Sep 2013 22:02:51 +1000
Subject Re: semicolon at end of python's statements
From Chris Angelico <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.86.1378382574.5461.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Sep 5, 2013 at 9:33 PM, Duncan Booth
<duncan.booth@invalid.invalid> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: semicolon at end of python's statements Chris Angelico <rosuav@gmail.com> - 2013-08-29 10:31 +1000
  Re: semicolon at end of python's statements Duncan Booth <duncan.booth@invalid.invalid> - 2013-09-05 11:33 +0000
    Re: semicolon at end of python's statements Chris Angelico <rosuav@gmail.com> - 2013-09-05 22:02 +1000
    Re: semicolon at end of python's statements Grant Edwards <invalid@invalid.invalid> - 2013-09-05 14:04 +0000
    Re: semicolon at end of python's statements Jeremy Sanders <jeremy@jeremysanders.net> - 2013-09-05 16:05 +0200
    Re: semicolon at end of python's statements Chris Angelico <rosuav@gmail.com> - 2013-09-06 00:13 +1000
      Re: semicolon at end of python's statements Duncan Booth <duncan.booth@invalid.invalid> - 2013-09-05 15:15 +0000

csiph-web