Stroustrup is disappointed with D :(

John Carter via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 22 13:52:27 PDT 2015


On Tuesday, 22 September 2015 at 19:52:48 UTC, Ola Fosheim 
Grøstad wrote:
> But neither approach is good for correctness.


The approach that would be "Good for Correctness" is "Hey! You're 
doing to much work in a constructor, that's a code smell anyway. 
And invoking virtual methods in a constructor is bound to be 
flaky no matter what the language designer chooses... so don't do 
that."



More information about the Digitalmars-d mailing list