On 9/24/05, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Now, can you honestly say that you would (naively) read
>
>   return foo if bar else baz
>
> and be certain you knew what it meant?

FWIW, yes, I can honestly say that I would be certain. Yes, you may be
able to *parse* it as (foo if) bar (esle baz) as well as foo (if bar)
(else baz), but I know of no conceivable *semantic* meaning for "foo
if" - English has no postfix if, and nor do any programming languages,
except entirely postfix ones such as Forth.

Paul.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to