C++ traps that D2 doesn't avoid yet?

Steven Schveighoffer schveiguy at yahoo.com
Thu Nov 6 11:46:25 PST 2008


"ore-sama" wrote
> Steven Schveighoffer Wrote:
>
>> I appreciate any effort by the compiler to not compile code that can be
>> definitively declared as invalid.  It saves me time and bugs, and that is
>> worth a lot.
>
> You said "definitely". Your example is meaningful, but this doesn't affect 
> my examples.

Yes, you are probably right.  Those can be valid either way, much more than 
my example.

To be honest though, I more disagree with your assertion that only novice 
programmers are affected.  I sometimes make these types of mistakes, and I 
definitely don't consider myself a novice ;)

-Steve 





More information about the Digitalmars-d mailing list