Interface complexity

Spartan programming also dictates that each parameter is passed with least variability and interaction with other components of the program. The following is a list of methods of passing parameter in descending order of preference.

  1. input parameters
  2. output parameters
  3. input-output parameters
  4. by-reference parameters
  5. by-name parameters