News for hackers. Stuff that matters.
Re:Why inheritance sucks by chromatic on Friday August 20, 2010 @01:47PM (#1621039)
Yes and no. Java interfaces are a very degenerate case of roles. They provide no default behavior (a few constants notwithstanding), they are special cases in at least part of the type system (declaring a class does not also declare a role), and I know of no good way to handle conflicts when implementing multiple interfaces with overlapping requirements.

There are no comments on this comment yet.