DMD 0.148 release

Walter Bright newshound at digitalmars.com
Tue Feb 28 21:19:54 PST 2006


"Thomas Kuehne" <thomas-dloop at kuehne.cn> wrote in message 
news:2t3fd3-hm9.ln1 at birke.kuehne.cn...
> 3) the code is a bit more robust against casting and bools returned
> from external sources (e.g. C code)

That's true, but I disagree with the intent. When interfacing with C, or 
doing casting, it's up to you to get the right results into the variable to 
satisfy the constraints of the type. Having the compiler essentially hide 
bugs of this sort doesn't make it robust, it just defers the problem to 
cropping up somewhere else. 





More information about the Digitalmars-d-announce mailing list