Ternary operator

Michael Geary Mike at DeleteThis.Geary.com
Tue Sep 9 06:52:59 CEST 2003

Timothy Delaney wrote:
> FWIW, I definitely fall in the "would not oppose" group, and not
> the "actively want" group. I prefer not to use a ternary operator
> in any language. My bias may well be affecting my understanding.

That certainly would make a difference. I'm in just the opposite camp, being
someone who uses the ternary operator very frequently in C++. So I really
miss it in Python. But I'd still take Python without the ternary operator
over C++ with it! :-)


More information about the Python-list mailing list