[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java

  (1) Multiple inheritance could well take a constrained form that does
  not have the many gotchas you see even in CLOS.  Consider a piece
  of Java that looks like this:

     public class InputOutputWindow
	 extends Window
	 implements Input using InputMixin
	 implements Output using OutputMixin {

Yes: see 

 M. Flatt, Krishnamurthi, S., and M. Felleisen.  
 Classes and mixins. 
 In Proc. 25th ACM Symposium on Principles of Programming Languages, 
 1998, 171--183.

Before you get into details, note that this is a starting point. 
Matthew have done some additional theoretical and practical work 
on this topic. 

-- Matthias