Threading Questions
    bitwise via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Thu Oct  8 21:04:40 PDT 2015
    
    
  
On Thursday, 8 October 2015 at 20:42:46 UTC, Kagamin wrote:
> On Thursday, 8 October 2015 at 13:44:46 UTC, bitwise wrote:
>> That still doesn't explain what you mean about it being 
>> illegal in other languages or why you brought up C# in the 
>> first place.
>
> Illegal means the resulting program behaves incorrectly, 
> potentially leading to silent failures and data corruption. C# 
> is a language that allows such bugs, and D disallows them - 
> treats such code as invalid and rejects.
Ah, I see. I thought you meant illegal meant it won't compile. 
Wouldn't it be more correct to say that it's undefined behaviour?
      Bit
    
    
More information about the Digitalmars-d-learn
mailing list