Function preconditions in object oriented software

  • Authors:
  • Jean Pierre LeJacq

  • Affiliations:
  • Paradigm Software, 34 Millstone Drive, Marlborough, CT

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1991

Quantified Score

Hi-index 0.00

Visualization

Abstract

Functions in nonobject oriented languages are typically designed to minimize any preconditions which must be satisfied before the function can be legally called. In object oriented languages this prescription can reduce the refinement of the function through derivation. A tradeoff must be made between refinement potential, efficiency, and risk of incorrect usage.