On Nov 22, 2006, at 16:04 UTC, Daniel Stenning wrote:

> What is wrong with making this optional?  Think of loop based
repetitive
> code demanding the highest level of performance  ( for example
real-time or
> DSP related code ) - in that situation one would not want any error
checks
> inside the loop in the final release.

True, and in those cases you could wrap your assertions in #if
DebugBuild.

> Of course the same program might very well use lots of asserts left
in place
> in the final release elsewhere where performance is not an issue, but
the
> decision ought to be left to the developer.

Agreed.  Thankfully, we have a mechanism for that already.

Best,
- Joe


--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to