From: Mathieu Bouchard Date: 2002-08-04T10:17:32+09:00 Subject: Re: Should this work? On Sun, 4 Aug 2002, Hal E. Fulton wrote: > From: "George Ogata" > > > x, y, z = 1, 2, 3 > > > x, y, z += 5 # 6, 7, 8 > Well, = and += are both considered > assignment operations. That's enough > rationale (for me) to draw the line > with +=, -=, and the others. There's a problem: x,y,z=5 assumes 5,nil,nil instead of 5,5,5. So the other assignment operators would be inconsistent in this regard. IMHO, "x,y,z += 5,5,5" would be okay, but I will make no effort to push it. > I would *not* go for ==, but for << and > .method I *might* be persuaded. #== and #<< are plain methods. You shouldn't use method names to discriminate that kind of behaviour. ________________________________________________________________ Mathieu Bouchard http://artengine.ca/matju