Object-oriented programming (OOP)

  • Authors:
  • Peter Wegner

  • Affiliations:
  • -

  • Venue:
  • Encyclopedia of Computer Science
  • Year:
  • 2003

Quantified Score

Hi-index 0.01

Visualization

Abstract

The essence of object-oriented programming is to model systems of real entities with the goal of separating their internal structure from their external, visible interactions. It emphasizes the hiding or encapsulation of the "inner" state of entities and the specification of interactive properties of entities by an interface of operations (the events in which they may participate). This separates the inner functioning of entities like banks, aircraft, or people from their external behavior in interacting with other entities. The separation is realized by partitioning the state of a system of entities into chunks associated with objects so that each chunk is responsible for its own protection against access by unauthorized operations. In a concurrent environment, objects protect themselves against asynchronous access, removing the synchronization burden from processes that access the object's data.