Subject: Re: [boost] [Boost-users] [review][constrained_value] Review of Constrained Value Library begins today
From: Robert Kawulak (robert.kawulak_at_[hidden])
Date: 2008-12-21 09:34:09
> From: Mika Heiskanen
> For example, I cannot let my server crash
> if it cannot fulfill a particular type of request due to a
> programming error.
> Instead it should log the error and fail that particular
If one invariant fails, this means your program is not reliable anymore (also
when processing subsequent requests). Other invariants may become invalid too
and any assumptions made during writing of your program may not hold anymore.
This means that the program will most probably start behaving in an unexpected
way. I think in most cases it is preferred to crash the program than allow it to
produce invalid output and, for example, store it in a database.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk