digitalmars.D - scala traits == D classes with parameterized base
- Andrei Alexandrescu (13/13) Apr 01 2009 In Scala, when you say:
In Scala, when you say: class C extends Super with T that's exactly as when you say in D: class C : T!(Super) where T is a class with a parameterized base: class T(Base) : Base { ... stuff ... } Right? I wish MI were this simple. Bill claimed it is, and I think he's thoroughly wrong. Andrei
Apr 01 2009