Making all types typedefed

  • Authors:
  • Ron Ben-Natan

  • Affiliations:
  • -

  • Venue:
  • ACM SIGSOFT Software Engineering Notes
  • Year:
  • 1992

Quantified Score

Hi-index 0.00

Visualization

Abstract

Encapsulation has been recognized as one of the most important methods for assuring that software systems maintenance is made possible. Many modern programming languages now provide specific constructs for encapsulation and abstraction. This note emphasizes the fact that the return types of an encapsulation's interface is a part of the interface functions themselves, and as such must also be encapsulated. The examples are given in C++ and encapsulating of the types is done using typedefs.