Files
exercises-in-programming-style/07-things
2013-09-22 16:28:48 -07:00
..
2013-09-22 16:28:48 -07:00
2013-09-22 11:00:08 -07:00

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: