if <assignment>:
Isaac To
kkto at csis.hku.hk
Wed Nov 27 22:51:51 EST 2002
More information about the Python-list mailing list
Wed Nov 27 22:51:51 EST 2002
- Previous message (by thread): if <assignment>:
- Next message (by thread): if <assignment>:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>>>> "Courageous" == Courageous <jkraska at san.rr.com> writes: >> This is a special case of the general principle that it's usually >> clearer if expressions don't have side effects. Courageous> Oh, quite true! As a general rule of thumb, I consider Courageous> expressions with side effects to be bad coding practice. I Courageous> don't mind at all that Python doesn't allow them. How about if Python disallow functions to do anything "with a side effect"? After all, function calls are expressions. Regards, Isaac.
- Previous message (by thread): if <assignment>:
- Next message (by thread): if <assignment>:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list