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


Groups > comp.lang.python > #53712

Re: semicolon at end of python's statements

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: semicolon at end of python's statements
Date 2013-09-05 14:04 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <l0a30u$jpu$1@reader1.panix.com> (permalink)
References <1377735506.18906.15.camel@debian> <mailman.333.1377736286.19984.python-list@python.org> <XnsA2327F75D8838duncanbooth@127.0.0.1>

Show all headers | View raw


On 2013-09-05, 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 }

Yep, I once knew somebody who used a set of macros like that to make C
programs look as much like some dialect of BASIC as possible.  He also
wrote his letters/memos in Lotus 1,2,3...

-- 
Grant Edwards               grant.b.edwards        Yow! I want to mail a
                                  at               bronzed artichoke to
                              gmail.com            Nicaragua!

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