Stroustrup objects to adding Contracts to C++

Walter Bright newshound2 at digitalmars.com
Wed Nov 11 22:08:54 UTC 2026


On 11/11/2026 1:29 AM, Paolo Invernizzi wrote:
> On Wednesday, 11 November 2026 at 01:12:03 UTC, Richard (Rikki) Andrew 
>> I.e. @nogc pure
> 
> @nogc is actually used in our codebase, it's not a weak feature.

I happen to like `pure` a lot. Refactoring code to make it pass purity testing 
is very satisfying, and the code tends to look a lot better and be less buggy.



More information about the Digitalmars-d mailing list