ternary operator

Andrew Koenig ark at research.att.com
Fri Feb 7 20:34:58 EST 2003


Carlos> As for myself, being an old Pascal/Delphi addict, I'm used to
Carlos> (relying on) short-circuiting expressions, but I avoid it if I
Carlos> feel it will make the code less clear.

The original definition of Pascal did not short-circuit expressions.

-- 
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark




More information about the Python-list mailing list