Please rethink extended enums inclusion
howard.lovatt at gmail.com
Sun Oct 16 20:35:30 PDT 2011
I too have suggested abstract enums in the past and at the last coin
initiative there was some discussion about the idea. As an alternative, can
defender methods from Java 8 be used instead of an abstract class? For the
usage that I want, saving repeated code, this would be viable.
On 8 October 2011 04:50, Alex Miller <alex at puredanger.com> wrote:
> On Fri, Oct 7, 2011, Jose Antonio Illescas Del Olmo
> <jantonio.illescas at rbcdexia-is.es> wrote:
> > Now we have hundred of enums on our project (finantial application with
> > 120.000 lines) an repeat same code on any enum... (*mark as red*)
> I would second that I think having abstract enums would be useful.
> One use case I ran into and blogged about long ago is here if you're
> Alex Miller
More information about the coin-dev