<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 23, 2015 at 12:31 PM, Jonathan M Davis via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tuesday, 23 June 2015 at 19:13:43 UTC, Jeremy Powers wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Different behavior between release and non is not something to be desired.<br>
</blockquote>
<br>
It's perfectly normal if we're talking about assertions, but in that case, it's an AssertError being thrown, not a normal exception. So, in either case, it's a logic error; it's just that you get better reporting of it in debug mode than in release and don't have the cost of doing the checking in release.<br><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Well I don't like assertions either, for specifically that reason.  An error is an error, I don't want something to be caught and handled in debug to then be ignored and explode on release.  If my release isn't checking for it, and subsequently fails, this is now a bug in release that was not in debug.</div><div><br></div><div>I realize other people have different views on this.</div></div><br></div></div>