I just found an enlightening article about errors and their handling by Herb Sutter in CUJ.
His clear definitions on what makes an error and how to handle them is most refreshing.
However it makes one wonder: isn't it strange that this error and error handling issue is still not clarified?
The article: When and How to Use Exceptions.
Another article which clarifies this thing (from the design-by-contract angle) is Bertrand Meyer's Applying "Design by Contract" (pdf). While Eiffel-oriented, it sets some pretty solid foundations on contracts, their violation and how to cope with those violations.
Monday, September 19, 2005
Subscribe to:
Post Comments (Atom)
3 comments:
Post a Comment