www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Purity in Eiffel

reply Max Klyga <max.klyga gmail.com> writes:
Found a blog post about purity and contracts relations in Eiffel 
language. Thought that would be interesting for D comminity.
This post also mentions term "weak purity" that differs from what it 
means in D.

http://bertrandmeyer.com/2011/07/04/if-im-not-pure-at-least-my-functions-are/
Jul 07 2011
parent bearophile <bearophileHUGS lycos.com> writes:
Max Klyga Wrote:

 Found a blog post about purity and contracts relations in Eiffel 
 language.
Thank you for the link to the interesting article. I hope future languages will use some of such large amount of thinking and design work. I hope some simple way to manage pre-state will be added to D contracts. Was adding "pure" worth the effort in D? Bye, bearophile
Jul 07 2011