On Wed, 4 Feb 2004 00:45:07 +0900, Robert Klemme wrote:
> Do we need this?

No. It's ugly and (IMO) not needed. Any program which seems to need it is in 
need of a redesign. The specific case can be handled as you suggested it, or 
better yet with a lookup table. This sort of problem is handled easily by 
intelligent data-driven design.

There is no need for a new or modified language construct here.

-austin
--
austin ziegler    * austin / halostatue.ca * Toronto, ON, Canada
software designer * pragmatic programmer * 2004.02.04
                                         * 11.49.59