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


Groups > comp.lang.python > #53717

Re: semicolon at end of python's statements

From Duncan Booth <duncan.booth@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: semicolon at end of python's statements
Date 2013-09-05 15:15 +0000
Message-ID <XnsA232A4F2AA4B4duncanbooth@127.0.0.1> (permalink)
References (1 earlier) <mailman.333.1377736286.19984.python-list@python.org> <XnsA2327F75D8838duncanbooth@127.0.0.1> <CAPTjJmpTzV4oK88oReBJc+yRwCNjBRy0UorD3jfx15Y8kjHJJw@mail.gmail.com> <l0a33f$re9$1@ger.gmane.org> <mailman.98.1378390424.5461.python-list@python.org>

Show all headers | View raw


Chris Angelico <rosuav@gmail.com> wrote:

> On Fri, Sep 6, 2013 at 12:05 AM, Jeremy Sanders
><jeremy@jeremysanders.net> wrote:
>> Chris Angelico wrote:
>>
>>> Because s/he thought it made for better code, or as a joke? Usually I
>>> see this sort of thing as the latter...

It was intended for clearer code, which is true if you don't like curly 
braces, and who does round here?

>>
>> http://oldhome.schmorp.de/marc/bournegol.html
>> http://utcc.utoronto.ca/~cks/space/blog/programming/BourneGol
> 
> Yep, that's some impressive code right there!
> 
> ChrisA
> 

That brings back memories all right, but its not as good as the version I 
remember as it doesn't 'fix' the logical operator priorities.

-- 
Duncan Booth http://kupuguy.blogspot.com

Back to comp.lang.python | Previous | NextPrevious 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