Traits for java
Joe Darcy
joe.darcy at oracle.com
Thu Oct 20 07:26:24 PDT 2011
On 10/20/2011 06:57 AM, Jose Antonio Illescas Del Olmo wrote:
> I don't know if this list is the best place to submit this request.
The proper place to submit such requests is
http://bugreport.sun.com/bugreport/
> One interesting feature can be Traits (interfaces with implemented methods)
>
>
> Split multiples functionalities on each Traits and remove
> macro-classes with macro-functionalities
>
>
> Please see: http://code.google.com/p/groovypptest/wiki/Traits
>
> PD: this change is minimun from a java coder view (some methods on
> interfaces can have a default implementation)
>
FYI, this is similar to the defender methods/virtual extension methods
being worked on in the context of Project Lambda:
http://openjdk.java.net/projects/lambda/
http://mail.openjdk.java.net/mailman/listinfo/lambda-dev
Cheers,
-Joe
More information about the coin-dev
mailing list