"Sean O'Dell" <sean / celsoft.com> schrieb im Newsbeitrag
news:200402041127.02778.sean / celsoft.com...
> On Wednesday 04 February 2004 11:07 am, Guoliang Cao wrote:
> > About my example, I don't think people should do a complex design.
> > "if..elsif" is the answer in current Ruby capability.
>
> Personally, I like the idea of a more readable way to replace the
if...elsif
> paradigm.  It's a great idea!

Hmm...  As someone else pointed out, if you are in excessive need of such
a construct, you should consider redesign.  Case constructs (or
if...elsif...end cascades) are regarded to be not very OO IMHO.

Regards

    robert