New statement proposal for Python

Nick Perkins nperkins7 at home.com
Thu Jun 14 22:57:23 EDT 2001


"David LeBlanc" <whisper at oz.nospamnet> wrote in message
news:9gbsdv$8ft$9 at 216.39.170.247...

> alias true: 1
...
>...read so nicely to be able to say "if something is true"

it's even easier than that:

if something:
    ...

..which can 'read' just as well, if you choose your names accordingly.

..but on a more general note, am i to understand that you are suggesting
C-style macros, where code is 'physically substituted', before being run?
That would be a Bad Thing, i think.   C was a nice little language before it
turned into a giant mess of macro substitutions.







More information about the Python-list mailing list