Program logic bugs vs input/environmental errors

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 28 18:44:12 PDT 2014


On Mon, 29 Sep 2014 01:18:02 +0200
Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d at puremagic.com>
wrote:

> > Then use assert(). That's just what it's for.
> 
> I don't follow this point.  How can this approach work with programs
> that are built with the -release switch?

don't use "-release" switch. the whole concept of "release version" is
broken by design. ship what you debugged, not what you think you
debugged.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140929/73a9dac7/attachment.sig>


More information about the Digitalmars-d mailing list