Does monkey support multiple inheritance?
Monkey Forums/Monkey Programming/Does monkey support multiple inheritance?
| ||
As the title says, does it? EG.: Class A Extends B,C ? |
| ||
Nope - thank gawd!!! Multiple inheritance is evil by design!! The keyword implements and interface are reserved for future use. So hopefully in the future we can use interfaces :) |
| ||
Yeah, interfaces are much cleaner by design, and much less error-prone than multiple inheritance, so hopefully we will see them implemented in Monkey soon. |
| ||
I think it is very possible we get Interfaces in the future, which would be awesome :) |
| ||
Please add Interfaces! I loved using them in other languages. |