[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: abort or verify?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-11-10 16:54:57 CET

On Wed, 2004-11-10 at 10:58, Mark Benedetto King wrote:
> I believe that we should always have code of the form:
>
> assert(!blah);
> if (blah)
> {
> /* do some reasonable thing */
> }

I certainly hope each assertion doesn't turn into three or four lines of
code.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 10 16:55:45 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.