assume, assert, enforce, @safe

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 1 02:04:34 PDT 2014


On Friday, 1 August 2014 at 04:12:40 UTC, Walter Bright wrote:
> On 7/31/2014 2:21 PM, Sean Kelly wrote:
>> Thoughts?
>
> If a process detects a logic error, then that process is in an 
> invalid state that is unanticipated and unknown to the 
> developer. The only correct solution is to halt that process, 
> and all processes that share memory with it.
>
> Anything less is based on faith and hope. If it is medical, 
> flight control, or banking software, I submit that operating on 
> faith and hope is not acceptable.

The release version of software is compiled in release mode, 
asserts are removed and everything will continue to operate just 
fine, thankfully.


More information about the Digitalmars-d mailing list