Architecture¶

  • Relationships are unavoidable with objects in a space

    • The address of an object is the relationship between the object and the space within which it resides
  • For any relationship there is a predicate form

    • Dick and Jane are married (relationship)
    • Are Dick and Jane married? (predicate)
  • We normally think of objects as representing things or nouns

    • An object may also represent a relationship
    • The next pointer in a linked list represents the relationship between one element and its successor
  • An object which represents a relationship is a witness to the relationship
  • When copying a witness there are three possible outcomes
    • The relationship is maintained
    • The relationship is severed
    • The witness is invalidated
  • Other mutating operations on any object in the relationship have the same possible outcomes

Give two example - the wedding band example An offset into an array example