On Fri, Sep 9, 2011 at 4:32 AM, Marc Heiler <shevegen / linuxmail.org> wrote:
> It does not matter how they are "supposed" to be used.
>
> Ruby does not impose it on him.
>
> eval() is a perfectly legit way to solve the problem description he has
> given.
>

It will solve the problem, yes, but in not using an array, you lose
the benefits of flexibility. Local variables with numbered suffixes is
just reinventing something you already have as part of the language.
Using eval instead of a basic language construct would be a pretty bad
habit to get into.