PEP 308: A PEP Writer's Experience - PRO

Aahz aahz at pythoncraft.com
Mon Feb 10 10:40:59 EST 2003


In article <yu99vfzstewk.fsf at europa.research.att.com>,
Andrew Koenig  <ark at research.att.com> wrote:
>Erik> Well, there's no doubt that if you want an iff (still a bad
>Erik> choice of names, since in mathematics that means "if and only
>Erik> if," not the meaning intended here) that does short circuiting,
>Erik> it has to lazily evaluate some of its argument; it has to be a
>Erik> special form.
>
>On the other hand, "iff" also means "identify friend or foe"
>which is perhaps a little closer to the intended meaning <wink>.

I prefer iif() for "immediate if".
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Register for PyCon now!  http://www.python.org/pycon/reg.html




More information about the Python-list mailing list