Extrinsic State

noun

say it: “ek-STRIN-zik STAYT” /ɛkˈstrɪnzɪk steɪt/

The part of an object's data that is its own and not its kind's, kept outside the shared part, such as a seat's row and number.

What is extrinsic state?

Extrinsic state is the data that belongs to one object and not to its kind: a stadium seat's row and number. In the Flyweight pattern each object keeps its extrinsic state and points to the shared intrinsic state.

In a sentence

  • “Row 12, seat 7 is extrinsic state: no other seat has it, so the seat keeps it itself.”

Level: Freelancer · More OOP terms at this level

Updated