Monday, September 19, 2005

On errors and their handling

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.

3 comments:

travisammons95444420 said...
This comment has been removed by a blog administrator.
joegonzo43535779 said...
This comment has been removed by a blog administrator.
mlyc8yaie64zr said...
This comment has been removed by a blog administrator.