At 01:40 PM 3/8/01 +0900, Eric Sven Ristad wrote:
>[[As others have noted, Ruby's multiple assignment conventions are
>baroque and provide no material benefit to the programmer.  What is
>the benefit of writing "a, b = x, y" when you can just as well write
>"a = x; b = y"?

1) you can write "a, b = b, a" instead of "temp = a; a = b; b = temp".
2) given a function f which returns a set of values, you can write "a,b,c = 
f(x)" instead of "l = f(x); a = l[0]; b = l[1]; c = l[2]"

Bye,
         Luigi