On Jun 6, 2012, at 15:54 , Peter Zotov wrote:

> Instead of this:
> 
>  if arg == "a"
>    1
>  elsif arg == "b"
>    2
>  end
> 
> ... you can use:
> 
>  { "a" => 1, "b" => 2 }[arg]
> 
> I leave the rest to your imagination.

I think this is too limiting / not mind-expanding enough...

I suggest looking at how smalltalk does branching (conditionals, loops, etc).