May 1, 2013
6:01 a.m.
On Apr 29, 2013, at 11:10 AM, Stephen J. Turnbull wrote:
Ethan thinks that "Seasons(3)" is a typecast, not an access into a mapping (which would be better expressed by "Seasons[3]"). Ie, the inverse of "int(AUTUMN)".
This is consistent with the "AUTUMN is-a Seasons" position that Ethan and Guido take. It's inconsistent with the "AUTUMN is-a Seasons_VALUE" implementation of Flufl.Enum.
I think this sums it up perfectly. I get that using class definition syntax is what sends people down Ethan's path. -Barry