DIP 1003 Formal Review

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue May 16 08:22:12 PDT 2017


On 15.05.2017 03:18, Jonathan M Davis via Digitalmars-d wrote:
> So, while I do like the idea of getting the word body back as an identifier,
> what really appeals to me here is getting rid of the need for it with
> contracts.

auto foo()in{
     assert(true);
}out{
     assert(true);
}{
     return 3;
}

Are you really arguing for this?
I don't want to write code like this.


More information about the Digitalmars-d mailing list