Wiki page: Coming From C++

ponce via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 11 04:03:55 PDT 2015


On Saturday, 11 April 2015 at 11:02:47 UTC, ponce wrote:
>> You should mention stack variables and members initialized by 
>> default. This avoids many release-only bugs.
>
> Also:
>
>     if (cond); // D won't allow that, but C++ will
>         statement();
>
> Almost every C++ programmer encounter this in its carreer.

And the improved resolution of name conflicts and the fact order
of declaration is by and large not important.


More information about the Digitalmars-d mailing list