PEP 308: Pep Update

Tim Rowe tim at remove_if_not_spam.digitig.co.uk
Fri Feb 21 10:01:48 EST 2003


> This is not a new proposal; `C ? x, y' has already been suggested very
> early on in these threads.  `C ? x, D ? y, z' would simply be the
> "relaxed" (as you called it) extension to it.

Sorry I've come to this late, but 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?





More information about the Python-list mailing list