Further programming language operations - AQADesigning robust programs

Proficient programming requires knowledge of many techniques. These techniques allow for powerful, complex programs.

Part ofComputer ScienceComputational thinking and problem solving

Designing robust programs

When writing code, it is important to ensure that a runs correctly and continues to run no matter what actions a user takes. This is done through planning for all possibilities and thinking about what a user may do that the program does not expect.

Designing robust programs encompasses three areas:

  • protection against unexpected user or actions, such as a user entering a letter where a number was expected
  • confirming that users on a computer system are who they say they are
  • minimising or removing

This anticipation and protection is done through: