DIP 1009--Improve Contract Usability--Preliminary Review Round 1

Wulfklaue via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 27 01:24:15 PDT 2017


On Monday, 26 June 2017 at 21:06:10 UTC, Timon Gehr wrote:
> Implementation:
> https://github.com/dlang/dmd/compare/master...tgehr:contract-syntax

As one of the newbie D users, who just happened to look at 
contract programming.

The proposed syntax for me:

* Its clear to write, not too much useless syntax
* Its not overly complex
* It fits with the language
* Easy to see the logic and order
* Useful to the point that it can remove a lot of boilerplate 
code out of the body structure


More information about the Digitalmars-d mailing list