monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [Program Options] cannot use Boost.Program_Options


From: Julio M. Merino Vidal
Subject: Re: [Monotone-devel] [Program Options] cannot use Boost.Program_Options with an i18nized program
Date: Wed, 23 Aug 2006 14:54:38 +0200

On 8/23/06, Richard Levitte - VMS Whacker <address@hidden> wrote:
In message <address@hidden> on Wed, 23 Aug 2006 04:46:55 -0700, Nathaniel Smith 
<address@hidden> said:

njs> so let's move on to door two... which is to give the calling
njs> program enough information on whatever errors have occurred
njs> that it can do its own error reporting.

While I understand the expedience argument, I'm dubious about
duplicating the error reporting of another package.  It demands a
level of synchronisation between two independent entities and is prone
to mistakes or outright errors.  The idea makes my skin crawl, to be
honest.

Nevertheless, exceptions should always provide the caller a way to
obtain the relevant information because the message they include may
not always be appropriate (nor targetted to the end user).  Also,
other than printing the message, you might need to handle this
information somehow in your code, so you need a way to access it.

(I know there is a page in the Boost site (?) that deals with exactly
this issue but I cannot find it now...)

--
Julio M. Merino Vidal <address@hidden>
The Julipedia - http://julipedia.blogspot.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]