D array expansion and non-deterministic re-allocation

Bartosz Milewski bartosz-nospam at relisoft.com
Tue Dec 1 16:11:54 PST 2009


Steven Schveighoffer Wrote:

> > The danger is that it's easy to miss accidental sharing and it's very  
> > hard to test for it.
> 
> I think this danger is rare, and it's easy to search for (just search for  
> ~= in your code, I did it with Tango).  I think it can be very well  
> defined in a tutorial or book chapter.

This might just be it. Experienced D programmers will avoid using ~= . It's the newbies who will be stumbling into these problems. 




More information about the Digitalmars-d mailing list