From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-07-30 14:04:11
On Wed, Jul 30, 2008 at 7:55 AM, David Abrahams <dave_at_[hidden]> wrote:
> on Wed Jul 30 2008, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
>> David Abrahams wrote:
>>> on Tue Jul 29 2008, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
>>>> The difference between exceptions and asserts are that, while both are
>>>> errors, exceptions is a system to report error and asserts is a system
>>>> to check that errors do not occur.
>>>> So the Error Handling category could be subdivided in Error Reporting
>>>> (which would also contain error codes and logging) and Error Checking
>>>> (which would also contain the testing framework).
>>> That might be a good idea.
>> Actually logging is more "error checking" I guess, since you cannot
>> catch the error and recover from it in the program.
> Logging seems to me to be about reporting. "Reporting" doesn't
> say anything about recovery to me.
Right, even if what's being reported in a log is an error (sometimes
it's not) the reporting itself is neutral and has no effect on the
program execution. In other words, the "error checking" that leads to
the action of logging isn't really part of the logging, in my mind.
Reverge Studios, Inc.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk