Re: 0.9-rc1

Irrisor <[email protected]> Sat, 06 Oct 2007 20:03:32 +0200
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>

Oleh Derevenko wrote:
> As for measures - I'm also the adherent of hard measures. If validation 
> fails, you should fix your code, not remove validation.
I'm opposed to the policy to add asserts like in ODE, for the following reason: 
In unlikely situations these pieces of code might be reached (esp. the one in 
the normalize methods). It is not very nice if a user reaches such situations 
and the whole applications crashes as a result.
Printing warning, throwing exceptions (if they are used), returning/setting NaN 
are ok. Terminating the application is not, as it might happen outside the 
testing phase.

my 2 cents,
regards,
Irrisor