1. Introduction to subroutines
Most computer programs are fairly complicated in the work they need to do. And so it is very important that the code is written in a well structured manner.
One of the key tools for producing neat, efficient, structured code is to make use of subroutines: also known as procedures and functions.
This section will explain what these are and how to use them.
Code that is very poorly structured and jumps all over the place in a tangled manner is called 'spaghetti code' and is usually a nightmare to update and maintain. So avoid spaghetti code by ensuring that you follow good coding practices.