abort or assert?
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-11-09 16:40:01 CET
In most of the places where we currently say:
if (blah) abort();
I feel we should be saying:
assert(!blah);
There may be some reasons to abort() in a few cases, such as to avoid possible
Does this sound reasonable?
- Julian
---------------------------------------------------------------------
|
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.