www.digitalmars.com         C & C++   DMDScript  

D - Scala mixins

A while back I suggested mixins for D.
A lot of work wrt. the semantics would have to be worked out.
Meanwhile I discovered the Scala language. It has mixins. I will only allow
mixing one class into another class if they have a common base class.

http://lamp.epfl.ch/scala/intro/mixin.html

MikkelFJ
Jan 22 2004