Files
exercises-in-programming-style/07-things/README.md
Crista Lopes 9e4e0d9319 Added style #7
2013-09-22 11:00:08 -07:00

432 B

Style #7

Constraints:

  • The larger problem is decomposed into 'things' that make sense for the problem domain

  • Each 'thing' is a capsule of data that exposes procedures to the rest of the world

  • Data is never accessed directly, only through these procedures

  • Capsules can reappropriate procedures defined in other capsules

Possible names:

  • Object-oriented style
  • The Kingdom of Nouns