PEP 308: Pep Update

Alex Martelli aleax at aleax.it
Thu Feb 27 06:01:18 EST 2003


Greg Ewing (using news.cis.dfn.de) wrote:

> 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?

I suspect it may be the latter, because I never saw any
Lisp coding standards deprecating cond...


Alex





More information about the Python-list mailing list