Ok, so there's a single supercalss. Do we support multiple mixins as in Dojo? How do I invoke constructors of these mixins?
http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-dojo/object-orientation/mixins Les On 9/21/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > On 9/22/07, Les <[EMAIL PROTECTED]> wrote: > > > > > Mislav, > > > > The debate is not quite resolved for me. How do I use $super in case > > of multiple inheritance? > > What made you believe we support multiple inheritance? This is a simple OO > model we're building here. We aren't making C++ in JavaScript, we are just > making life a little easier for an average OO programmer. > > Also, multiple inheritance isn't all that good. There is a reason Java and > C++ successors like Objective-C and C# chose not to support it. JavaScript > 2.0 looks like it will not support it either. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---
