An old topic (pun intended)

Jonathan M Davis jmdavisProg at gmx.com
Thu Oct 13 09:18:46 PDT 2011


On Thursday, October 13, 2011 05:35:52 bearophile wrote:
> Davidson Corry:
> > Did D2 ever implement the Eiffel "old" construct?
> 
> At the moment there no prestate in D. I agree that prestate is an important
> sub-feature of contract programming. It was discussed two or three times,
> but the discussions didn't produce actual results. I think it was not
> implemented because I think Walter thinks D contract programming is a half
> failure (I don't agree on this) and because implementing the prestate is a
> bit tricky.

I don't recall him ever saying anything about contract programming in D being 
a failure in any way. IIRC, old was rejected because it added extra 
complication for little value.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list