POV-Ray : Newsgroups : povray.off-topic : Lots of statistics : Re: C# Server Time
29 Jul 2024 08:23:22 EDT (-0400)
  Re: C#  
From: Darren New
Date: 13 Aug 2012 21:03:59
Message: <5029a3ff$1@news.povray.org>
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.

> And it's not like diamond inheritance is forbidden with interfaces (AFAIK,
> although I haven't checked this.)

It doesn't matter there, because the problem with diamond inheritance is 
differing implementations and member variables, not the actual methods.

Eiffel did a nice job, but even there they never (AFAIK) actually 
implemented the spec.

> But you should be liking C#. It doesn't leak memory and if it crashes, it
> tells you where and why. Probably.

Yep. Unless you explicitly use an unsafe construct.

-- 
Darren New, San Diego CA, USA (PST)
   "Oh no! We're out of code juice!"
   "Don't panic. There's beans and filters
    in the cabinet."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.