
On Wed, Oct 28, 2009 at 8:47 AM, Stewart, Robert <Robert.Stewart@sig.com> wrote:
Until one understands the language well enough, and has been programming long enough, one can't judge the relative merits of return codes and exceptions to make a wise choice.
I understand the language pretty well, and have definitely been programming long enough, and I still argue with myself what way is best. And I suspect, in some zen-like way, this means I've reached, uhh... error handling nirvana? Unfortunately.
In Boost, lacking any coding guidelines for error handling, you can expect different libraries to follow different philosophies. In the C++ standard, you should expect consistency throughout.
Since Boost attempts to be "possibly standard", I suppose we should attempt to be consistent? Tony