The state of contract programming in D

deadalnix deadalnix at gmail.com
Tue Mar 6 03:35:04 PST 2012


Le 05/03/2012 05:26, Alex Rønne Petersen a écrit :
> The issues I personally see as most important are related to contract
> inheritance and contracts on functions without a body.
>
> Additionally, I think that dropping the need for parentheses on
> invariant declarations would be a good idea, such that it feels more
> like unittest declarations. Furthermore, the ability to declare multiple
> invariants is essential for mixins and meta-programming in general.
>

100% agreed !


More information about the Digitalmars-d mailing list