[Python-Dev] vox populii illiterati
Eric S. Raymond
esr@thyrsus.com
Mon, 10 Feb 2003 19:04:37 -0500
Ka-Ping Yee <ping@zesty.ca>:
> I'm -1 on any syntax that's out of order. I think that would be
> terribly confusing, and i don't think there's any example of a
> successful out-of-order ?: syntax in another language, is there?
>
> It's not just that it's out of order -- it's that something gets
> short-circuited out of order. The whole idea of the very *first*
> thing you see getting short-circuited is unacceptably weird and
> unexpected for me.
I'm with Ping on this. Yes, I know about comprehensions. I didn't
like syntax either.
Maybe it's a time to consider (guard ? true-arm ! false-arm).
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>