From: Hal Fulton Date: 2006-10-06T08:34:25+09:00 Subject: Re: Compound Parallel Operators Gavin Kistner wrote: > (I didn't see an RCR for this, and my lazy 60s of searching didn't find > any discussion about it. If it's been discussed before, just say so and > I'll go hunt for the discussion properly.) > > Ruby allows parallel assignment: > a,b,c = x,y,z > > Ruby interprets compound operators: > a *= x > as > a = a * x > > Wouldn't it be nice if all compound operators worked with parallel > assignment? > a,b,c *= x,y,z > would thus be interpreted as > a *= x > b *= y > c *= z I brought this up once... but there was some Good Reason it didn't work that way. Hal