PEP 308: A PEP Writer's Experience - PRO

David Eppstein eppstein at ics.uci.edu
Wed Feb 12 14:57:33 EST 2003


In article <3E49A4C4.8A0170A8 at alcyone.com>,
 Erik Max Francis <max at alcyone.com> wrote:

> I cannot recall every seeing
> 
> 	if (something ? this : that) ...
> 
> in either C or C++ code

I couldn't recall seing that either, but then I looked through some very 
old C++ code of mine and found a couple instances.  I had a hard time 
deciphering them, and one of them looked possibly buggy.  So it's not 
something I would advocate doing now, but they do exist.

-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/




More information about the Python-list mailing list