For review: PEP 308 - If-then-else expression

Brian Quinlan brian at sweetapp.com
Mon Feb 10 14:21:56 EST 2003


> Some have argued that the conditional expression construct is
> intrinsically hard to understand.  If this were true, one would 
> expect that the right honorable BDFL would avoid using it in his 
> own code.
> 
> My point is that since BDFL clearly sees fit to use it ROUTINELY 
> in his own C code, then it must not materially impair readability 
> nor be all that hard to understand.

I think that the target audience for C is different from the target
audience for Python. Most C programmers, I suspect, are professional
programmers whose brains have been trained to parse complex expressions.

Cheers,
Brian






More information about the Python-list mailing list