From: "J.Herre" Date: 2003-02-11T16:24:51+09:00 Subject: Re: value of assignment (Re: Order of the value of an expression changed? (PR#579)) On Monday, February 10, 2003, at 10:53 PM, ts wrote: > J> * Might be confusing to count on assignment having side effects. > > For me it's confusing if `bdb["blue"]' and `bdb["blue"] = "XYZ"' > don't > give the same value. > > I know but neither of these evaluation schemes guarantees that ( bdb["blue"] = "XYZ"') == bdb["blue"] In fact, sometimes are are counting on bdb[]=(x,y) returning something weird - like self. That's what I meant by side effects. You really have no idea what's going to be returned.