Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.

Student and Teacher User Guides |   Schemes of Work |   Real Teacher use Videos |

Join 30000+ teachers and students using TTIO.

Maintaining Programs

A lovely introduction to the importance of writing maintainable and robust programs

The purpose of maintainability is to ensure that, over time, a program can be easily maintained.

A programmer may decide to return to a program they wrote some time before in order to add an extra feature. Additionally, another programmer may wish to modify the program in order to improve it or debug an error.

In both situations, the understanding of the program, how it works and the purpose of the code will be made easier if the program is written in a maintainable style. This includes using:

  • comments
  • sensible variable names
  • indentation

Source and additional reading: 

https://www.bbc.co.uk/bitesize/guides/z4cg4qt/revision/5

 

www.teachyourselfpython.com