if <assignment>:

Courageous jkraska at san.rr.com
Wed Nov 27 22:38:29 EST 2002


>This is a special case of the general principle that it's
>usually clearer if expressions don't have side effects.

Oh, quite true! As a general rule of thumb, I consider
expressions with side effects to be bad coding practice.
I don't mind at all that Python doesn't allow them.

C//




More information about the Python-list mailing list