E.g. OpenSim contains assertions for ligament length (nonzero) that, when trying to debug an OSC build, will entirely abort the application, rather than it being reported via an exception.
Both are halting errors, but the benefit of an exception is that I can at least run "does this code cause a segafult" type tests in downstream code without the test suite being nuked by a stray abort in OpenSim.
E.g. OpenSim contains assertions for ligament length (nonzero) that, when trying to debug an OSC build, will entirely abort the application, rather than it being reported via an exception.
Both are halting errors, but the benefit of an exception is that I can at least run "does this code cause a segafult" type tests in downstream code without the test suite being nuked by a stray
abort
in OpenSim.