
Computer Science
3 If a module has to make use of other modules, these should be of lesser
importance, never of greater importance. In some case, a module may
need to call itself (recursion) as, for example, in a data entry module in
which data is tested and the module is called again to get the correct data
after an incorrect entry.
4 Each module should use local variables as far as possible, and should
affect variables in the main program only if this is an essential part of the
action of the module.
These requirements are very difficult to meet if programming is to be
carried out using early versions of BASIC but, by contrast, it would b ...