Files
exercises-in-programming-style/11-bulletin-board
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 12:07:52 -07:00
2013-09-24 22:09:30 -04:00

Style #11

Constraints:

  • Larger problem is decomposed into entities using some form of abstraction (objects, modules or similar)

  • The entities are never called on directly for actions

  • Existence of an infrastructure for publishing and subscribing to events, aka the bulletin board

  • Entities post event subscriptions (aka 'wanted') to the bulletin board and publish events (aka 'offered') to the bulletin board. the bulletin board does all the event management and distribution

Possible names:

  • Bulletin board
  • Publish-Subscribe