forgottenwizard
7/29/2007 4:10:00 AM
On 11:41 Sun 29 Jul , Phlip wrote:
> forgottenwizard wrote:
>
> >Is there any idea on which way the aforementioned systems will evolve,
> >or is that kind of a toss-up.
>
> There's at least one attempt out there to write a compiler for Ruby. That
> requires a re-write, and while of course its goal is more performance, the
> exact resulting mix will indeed be a toss-up.
>
> >What I'm doing right now, it doesn't make much of a diff either way, so
> >I'll use case sinces its less typing...
>
> So ... 'case' is more "DRY"?
>
It seems to me, that since I can't tell a real diffrence (I'll look into
the benchmarking bits later), I might as well use what seems the easiest
to expand as things go along.
Less to type in
case i
when arg,a
...
when arb,b
...
instead of
if i="arg" or i="a"
:)