Please rethink extended enums inclusion

Jose Antonio Illescas Del Olmo jantonio.illescas at rbcdexia-is.es
Mon Oct 10 02:08:31 PDT 2011


A mistake, my proyect contains 120000 lines of code

On 10/10/2011 10:55, Jose Antonio Illescas Del Olmo wrote:
> Let me explain a real case: my current project (120.00 lines of code)
> with many enums (350 enums)
>
> An abstract enum can reduce aprox. 10 lines of code: internal field
> "code", getter/setter of "code", static attribute "CODES", utility
> methods as "in"....
>
>       350 enums x 10 lines of code = 3500 removed lines (it's an
> important reduction)
>
>
> I think that abstract enums can help us (all java developer) to reduce
> dramatically our lines of code...
>
>




More information about the coin-dev mailing list