www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - More immutable data structures

As soon as D users will want to write more multithreaded code in D 2.x, using
the guarantees given by transitive const to use immutable data structures, D
will probably need more immutable data structures in a standard lib, Phobos or
Tango2. The following blog post (where persistent means immutable) shows that
Scala programmers are rather more up to date about such things:


In C# too:

Hopefully it's not too much late for D to come over the immutability train :-)

Aug 26 2008