assume, assert, enforce, @safe
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 31 00:37:18 PDT 2014
On 7/30/2014 4:05 PM, Ary Borenszweig wrote:
> On 7/30/14, 7:01 PM, Walter Bright wrote:
>> I'd like to sum up my position and intent on all this.
>>
>> 7. using enforce() to check for program bugs is utterly wrong. enforce()
>> is a library creation, the core language does not recognize it.
>
> What do you suggest to use to check program bugs?
assert()
More information about the Digitalmars-d
mailing list