PEP 308: Pep Update

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Wed Feb 26 20:51:03 EST 2003


Tim Rowe wrote:
> has anybody already pointed out that 
> practically every C/C++ coding standard (certainly /all/ I've ever seen) 
> deprecates the use of the ?: ternary operator, because it's infamous for 
> producing unmaintainable code?

But is that because of the idea of a conditional
expression in general, or just the particular
syntax used in C?

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list