PEP-308 a "simplicity-first" alternative

Erik Max Francis max at alcyone.com
Wed Feb 12 23:41:48 EST 2003


Paul Paterson wrote:

> Using your definitions it's not ambiguous but it can be misleading
> since, in
> all other forms I recall seeing, C is the conditional test to select
> the
> normal or primary value. Hence a quick reading of "y or x if C" might
> lead
> you to believe that x is intended to be the normal result.

It _is_ the normal result, if by "normal result" you mean "the
expression that is to be evaluated if the condition evaluates to true." 
If you mean something else by "normal result," I don't understand why
you're making a distinction that only serves to confuse matters more.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ I always entertain great hopes.
\__/ Robert Frost
    Bosskey.net / http://www.bosskey.net/
 A personal guide to online multiplayer first person shooters.




More information about the Python-list mailing list