PEP 308: ternary operator

Ian Sparks Ian.Sparks at etrials.com
Fri Feb 21 12:20:26 EST 2003


Phil Hunt wrote:
>>
Does anyone have an estimate of the proportion of Python programmers
who know at least one C-syntax language? My guess is that at least
66% of us do.
<<

I can only speak for myself but I would have learned C or Perl if I wanted to see C-like Syntax and what attracted me to Python was its pascal-like syntax.

I see the introduction of a ?-based conditional operator as a step away from the clarity and simplicity that is the hallmark of Python code.





More information about the Python-list mailing list