Mixins

Behrang Saeedzadeh behrangsa at gmail.com
Mon Jan 23 15:47:38 PST 2012


Hi all,

What's the general consensus regarding supporting mixins in Java 8 (or 9,
etc.)? The more I use them, the more I like them. I especially like them
for organizing code -- different categories of responsibility for a class
are encapsulated in different mixins, for example:

public class AccountManagement {
   mixin Authentication;
   mixin Authorization;
   mixin Administration;
}

Cheers,
Behrang Saeedzadeh
http://www.behrang.org


More information about the jdk8-dev mailing list