Informal interfaces

BLS nanali at wanadoo.fr
Mon Oct 2 02:57:37 PDT 2006


Fredrik Olsson schrieb:

I like this idea.

  As Jave (And D) does not have multiple
> inheritance this add another restriction; a delegate object can only 
> handle a single control (or type of control), not a whole window.

Using the *Twin pattern* allow us to model multiple inheritance in 
languages like D, Java.

A pretty straightforward example in Java  is available at :
http://www.ssw.uni-linz.ac.at/Research/Papers/Moe99/Paper.pdf

Björn



More information about the Digitalmars-d mailing list