Empty Array is Null?
    bearophile 
    bearophileHUGS at lycos.com
       
    Thu Mar 20 05:22:13 PDT 2008
    
    
  
Frits van Bommel:
> It's quite similar to dereferencing null pointers: the compiler can 
> refuse to compile code that tries to do it, but most compilers will just 
> generate crashing code...
This can be acceptable for a little C compiler, like TinyCC, but D language is supposed to a safer and less bug-prone language. Otherwise it's just sugared C++ ;-)
Bye,
bearophile
    
    
More information about the Digitalmars-d-learn
mailing list