www.digitalmars.com         C & C++   DMDScript  

D - Couple of newbie questions...

reply dan <dan_member pathlink.com> writes:
Haven't even tried it yet, was just looking at the docs first time the past
hour...  Seems like a dream come true...

Re.: No multiple inheritance...

I wouldn't mind 'no multiple *concrete* inheritance'.
I wouldn't mind 'no name conflict resolution in multiple inheritance'.
I wouldn't mind, even, no concrete inheritance at all...
But *abstract* multiple inheritance would be nice, I'd think...
Comments?

Question 2:
Anybody working on a "DSTL" yet?

dan
Dec 03 2003
parent Chris Sauls <ibisbasenji yahoo.com> writes:
dan wrote:
 Re.: No multiple inheritance...
 
 I wouldn't mind 'no multiple *concrete* inheritance'.
 I wouldn't mind 'no name conflict resolution in multiple inheritance'.
 I wouldn't mind, even, no concrete inheritance at all...
 But *abstract* multiple inheritance would be nice, I'd think...
 Comments?

Depends on what you mean by abstract in this case. If you mean inheriting from an object containing only field declerations (without initializers) and method prototypes, then we have it with Interfaces.
Dec 03 2003