How does D improve design practices over C++?

Walter Bright newshound1 at digitalmars.com
Wed Oct 29 02:03:54 PDT 2008


Bill Baxter wrote:
> On Wed, Oct 29, 2008 at 4:13 PM, Walter Bright
> <newshound1 at digitalmars.com> wrote:
>> Janderson wrote:
> 
> - The override keyword helps you make sure really overriding something.
> 
> Been fighting with some bugs in C++ that would have been prevented by that one.

Add the corresponding final keyword in then, too, which *prevents* 
overriding.



More information about the Digitalmars-d mailing list