From: djberg96@... (Daniel Berger) Date: 2002-01-14T23:09:13+09:00 Subject: Re: a wishlist for ruby 2.0 "Hal E. Fulton" wrote in message news:<000f01c19ca5$10f96040$5d091b18@austin.rr.com>... > ----- Original Message ----- > From: "David Alan Black" > To: "ruby-talk ML" > Sent: Sunday, January 13, 2002 8:19 PM > Subject: Re: a wishlist for ruby 2.0 > > > > Hello -- > > > > On Mon, 14 Jan 2002, Mathieu Bouchard wrote: > > > > > * syntax: make foo.bar(2,3,5)=7 mean foo.bar=(2,3,5,7) > > > > What's the reasoning behind that? > > Not to speak for matju, I can see a logic behind this. > I think he wants to let bar= have other arguments > besides the single argument. > > Hal That would be considered an lvalue sub, right? How do most other languages handle this? Or is there a consistant behavior among languages? Regards, Dan