Timon Gehr:

> Eiffel does not do that either.
> (even though it _does_ have a built in deep copy feature)
> 
> We don't have to over-engineer the feature, if somebody needs to 
> deep-copy an object they can implement it themselves and use 
> old(obj.deepCopy()).

I agree. A shallow prestate is quite better than not having it at all in D.

Lately C# has implemented DbC, prestate too. I don't know how, but it's worth 
taking a look.

Bye,
bearophile

Reply via email to