Wiki page: Coming From C++

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


> 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.


More information about the Digitalmars-d mailing list