PEP 308: ternary operator

phil hunt philh at cabalamat.uklinux.net
Sat Feb 22 02:01:03 CET 2003


On Fri, 21 Feb 2003 17:10:55 GMT, Carl Banks <imbosol-1045847045 at aerojockey.com> wrote:
>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.

Well said.

-- 
|*|  Philip Hunt <philh at cabalamat.uklinux.net>   |*|
|*|  "Memes are a hoax; pass it on"              |*|





More information about the Python-list mailing list