Maybe D was wrong on contracts
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sun Sep 13 16:24:07 UTC 2026
On 13/09/2026 5:54 PM, Walter Bright wrote:
> On 8/17/2026 12:10 PM, Timon Gehr wrote:
>> It's not like I didn't try: https://issues.dlang.org/bugs/7584/
>
> If anyone wants to fix D's contracts, feel free! It's worth doing.
And I tried to solve the biggest problem with contracts... the overuse
of assert.
Language needs an Exception analogus to assert, but that got rejected.
Until that is done, it will never have a chance to work correctly.
More information about the Digitalmars-d
mailing list