|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> On 8/13/2012 7:53, Warp wrote:
> > If diamond inheritance is the problem, then forbid diamond inheritance.
> It turns out that having everything descend from Object (and other tricks
> like that) turn out to be more useful than multiple inheritance.
Does Object contain member variables? If not, then I don't see the problem.
Even if it does, then the language could implicitly do with it what C++'s
virtual inheritance does. You can still forbid all other types of diamond
inheritance if you so wish.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |