Files
exercises-in-programming-style/09-kinds-of-things
Bruce Adams 5749c2c50f Enhance testing: run all executables
Add a #! line at the beginning of each of the existing Python programs
and change these files to be executable. This sets the stage for having
the test script blindly run anything that is executable, adding support
for testing many programming languages.
2013-09-24 22:09:30 -04:00
..
2013-09-22 11:25:41 -07:00
2013-09-24 22:09:30 -04:00

Style #9

Constraints:

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

  • Each type of thing is described by what operations the things of that type can eventually do

  • Concrete things are then bound, somehow, to the types; mechanisms for doing that vary

  • The rest of the application uses the things not by what they are but by their types

Possible names:

  • Types of things
  • Abstract data types