From virtual extension methods to mixins

Brian Goetz brian.goetz at oracle.com
Mon Jul 9 04:50:11 PDT 2012


Please don't encourage techniques like this.  There are a zillion "clever" things you can do in Java, but shouldn't.  We knew it wouldn't be long before someone suggested this, and we can't stop you.  But please, use your power for good, and not for evil.  Teach people to do it right, not to abuse it.  


On Jul 9, 2012, at 1:12 AM, François Sarradin wrote:

> Hi,
> 
> I would like to share a blog post. It explains how to get multiple
> inheritance of the state from the virtual extension methods.
> 
> "Java 8: Now You Have Mixins!" =>
> http://kerflyn.wordpress.com/2012/07/09/java-8-now-you-have-mixins/
> 
> François-
> 



More information about the lambda-dev mailing list