Files
exercises-in-programming-style/16-asides
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-24 08:46:23 -07:00
2013-09-24 22:09:30 -04:00

Style #16

Constraints:

  • The problem is decomposed using some form of abstraction (procedures, functions, objects, etc.)

  • Aspects of the problem are added to the main program without any edits to the source code of the abstractions. These side functions latch on the main abstractions by naming them, as in "I'm an aspect of foo (even though foo may not know it!)"

Possible names:

  • Asides
  • Aspect-oriented style
  • Rewriting the story