Thinking in C++ Vol 2 - Practical Programming |
Prev |
Home |
Next |
Error recovery is a fundamental concern for every program
you write. It s especially important in C++ when creating program components
for others to use. To create a robust system, each component must be robust.
The goals for exception handling in C++ are to simplify the
creation of large, reliable programs using less code than currently possible,
with more confidence that your application doesn t have an unhandled error.
This is accomplished with little or no performance penalty and with low impact
on existing code.
Basic exceptions are not terribly difficult to learn; begin
using them in your programs as soon as you can. Exceptions are one of those
features that provide immediate and significant benefits to your project.
Thinking in C++ Vol 2 - Practical Programming |
Prev |
Home |
Next |