Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53693
| References | <1377735506.18906.15.camel@debian> <mailman.333.1377736286.19984.python-list@python.org> <XnsA2327F75D8838duncanbooth@127.0.0.1> |
|---|---|
| Date | 2013-09-05 22:02 +1000 |
| Subject | Re: semicolon at end of python's statements |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.86.1378382574.5461.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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