PEP 308: some candidate uses cases from live code

Andrew Koenig ark at research.att.com
Mon Feb 10 14:39:24 EST 2003


Tony>Tony> Can you imagine explaining why this is good syntax:

Tony> if x: print y
Tony> else: print z

Tony> And this isn't:

Tony> if x: print x else: print y

Anyone who wants to teach Python has to figure out how to explain it,
as this is the state of affairs today.

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




More information about the Python-list mailing list