Files
exercises-in-programming-style/10-things
2018-12-13 19:57:17 -08:00
..
2013-09-27 20:11:34 -07:00
2018-12-13 19:57:17 -08:00

Style #10

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: