PEP 308: ternary operator

Carl Banks imbosol-1045847045 at aerojockey.com
Fri Feb 21 12:10:55 EST 2003


sismex01 at hebmex.com wrote:
> Sometimes we gotta stop what we're doing and think long and
> hard on a problem, in order to find the best solution. I think
> that finding the correct syntax for Python's ternary operator
> is one of those problems, because it's use is going to spread
> veru fast, so there's no taking it back nor changing it to
> something else later.

I think it's kind of comical how serious everyone believes this is, as
if the very future existence of Python hinged on whether the
conditional operator is a ? b : c or a then b else c.


-- 
CARL BANKS




More information about the Python-list mailing list