
Feb. 1, 2013
11:41 a.m.
On 1 February 2013 20:27, Serhiy Storchaka <storchaka@gmail.com> wrote:
I think that instead of the invention of implementation which covers all possible hypothetic scenarios
The scenarios I'm really interested in here is DRY; automatic assignment (i.e. not having to specify any values); manual assignment (which should allow any expression that is legal within a class definition) and being able to introspect the enum. Everything else falls out of supporting those scenarios within the normal restrictions of enums (in particular 1:1 mapping) and conforming to obvious interfaces. Tim Delaney