Stroustrup objects to adding Contracts to C++
Paul Backus
snarwin at gmail.com
Tue Nov 10 16:24:13 UTC 2026
On Tuesday, 10 November 2026 at 15:59:11 UTC, jmh530 wrote:
> On Tuesday, 10 November 2026 at 15:38:47 UTC, Paul Backus wrote:
>>
>> The biggest issue with contracts compared to unit tests is
>> [...]
>
> I thought the issue with contracts was something along the
> lines of "why put them in the contract block vs just have
> regular asserts."
That's also an issue with contracts, but it's separate from what
I was talking about in my message, which was specifically about
comparing contracts and unit tests.
More information about the Digitalmars-d
mailing list