Design By Contract

Anders F Björklund afb at algonet.se
Thu Nov 2 02:11:02 PST 2006


Chris Nicholson-Sauls wrote:

> Well, there is debug mode, release mode, and what I like to term 
> "indifferent mode."  To get debug mode you, simply enough, pass the 
> "-debug" command line switch to DMD.  To get release mode, you pass 
> "-release" to it, which disables all the runtime features covered by 
> Design-by-Contract, and a few other things.  To get "indifferent mode" 
> just don't pass either switch. [...]

I usually call it "contract mode" instead.

--anders



More information about the Digitalmars-d mailing list