From: Austin Ziegler Date: 2004-02-05T06:55:08+09:00 Subject: Re: RCR draft for enhanced "case..when..else..end" syntax On Thu, 5 Feb 2004 04:27:06 +0900, Sean O'Dell wrote: > 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! It's called lookup tables or object oriented programming using virtual calls, as Robert Klemme implemented. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2004.02.04 * 16.54.18