PEP 308: Erik's alternatives list
Gerald S. Williams
gsw at agere.com
Wed Feb 19 11:41:45 EST 2003
Roman Suzi wrote:
> I do like
> iif(C, :x, :y)
>
> better in the light of PEP 312 ;-)
So the real problem is that lambda is to hard to
spell? Somebody go tell Guido! I know the lambda-
philes (of which I shamefully admit to being a
card-carrying member, no matter how unpythonic
they are) would like this one.
-Jerry
P.S. Make that "ifelse". As was mentioned before,
"iif" looks too much like "iff". :-) And
while you're at it you might as well grab
"switch". :-) :-)
More information about the Python-list
mailing list