Chapter
Error Handling
From ComputerScienceOne by Dr Chris Bourke
Concepts
- What are software bugs and why can they cause serious failures?
"Writing perfect code is difficult. The more complex a system or code base, the more likely it is to have bugs. That is, flaws or mistakes in a program that result in incorrect behavior or unintended
- How can software development practices help prevent bugs?
"There are a variety of reasons for why bugs make it into systems. Bugs could be the result of a fundamental misunderstanding of the problem or requirements. Poor management and the pressure of time c
- Why must software handle errors in addition to avoiding bugs?
"Even if code contains no bugs, it is still susceptible to errors. For example, a program could connect to a remote database to query and process data. However, if the network connection is temporaril