On 19/09/2010 22:32, Seebs wrote:
On 2010-09-19, AK<andrei....@gmail.com> wrote:
Because that's what 'if' and 'else' mean.
My point is, I don't want the order of the clauses in if/else to change.
If it is sometimes "if<condition> <true-clause> else<false-clause>", then
it should *ALWAYS WITHOUT EXCEPTION* be condition first, then true clause,
then false clause. If it's sometimes "if condition true-clause else
false-clause", and sometimes "true-clause if condition else false-clause",
that's a source of extra complexity.
[snip]
Have you read PEP 308? There was a lot of discussion about it.
--
http://mail.python.org/mailman/listinfo/python-list