PEP308: Yet another syntax proposal
Wed Feb 12 17:19:24 CET 2003
aahz at pythoncraft.com (Aahz) writes:
> >I don't see it that way. I see a camp that wants a clear, definite,
> >explicit way to express a conditional expression, and a camp that
> >prefers "Secret Master Pythonista" bizarre idioms like "x and y or z,
> >with rework required if it turns out that y can be None or 0 or the
> >empty list". From my view, conditional expressions are in the
> >simplicity camp and "x and y or z" is from the Secret Master Pythonista
> > camp.
> You're failing to consider the existence of the camp that thinks that
> "x and y or z" isn't particularly Pythonic and has no interest
> whatsoever in making similar expressions any easier or more common.
Those are the Secret Masters. Of course they don't go around
proclaiming "x and y or z" to be the Secret Master construction.
If they did that, it wouldn't be much of a secret!
More information about the Python-list