From: Hal Fulton Date: 2013-07-09T23:27:09+09:00 Subject: Re: A very half-baked idea: setting local variables --047d7b343eaeb3205504e114f497 Content-Type: text/plain; charset=ISO-8859-1 I agree with 95% of the comments people made in this thread. I think the "proper" solution in my situation(s) is to define a class or at least a struct. FWIW, I see this mostly in code that is not my own. I don't usually use length multiple assignment like that (and I *do* break up the lines whether I wrote it originally or not). Cheers, Hal On Tue, Jul 9, 2013 at 3:08 AM, Joel Pearson wrote: > Once you get to that many local variables I'm sure you could define a > class to handle the behaviour you want. > Once you start using variables where the names are important, you'd be > better of with a Hash. That's the whole point of Hashes. > > -- > Posted via http://www.ruby-forum.com/. > > --047d7b343eaeb3205504e114f497 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I agree with 95% of the comments people made in this threa= d.

I think the "proper" solution in my s= ituation(s) is to define a class
or at least a struct.

FWIW, I see this mostly in code that is not= my own. I don't usually
use length multiple assignment= like that (and I *do* break up the=A0
lines whether I wrot= e it originally or not).

Cheers,
Hal

--047d7b343eaeb3205504e114f497--