Instructors' Guide
Ch 1
Ch 2
Ch 3
Ch 4
Ch 5
Ch 6
Ch 7
Ch 8
Ch 9
Ch 10
Ch 11
Ch 12
- The letter/envelope idiom is a means to
separate interface aspects of a class from implementation
aspects.
An advantage is that implementations may be dynamically
changed.
- Polymorphism may be characterized as the ability
to be of a different type, dependent upon circumstances.
For object-oriented languages, the best-known form
is (inclusion) polymorphism by inheritance.
However, (ad hoc) polymorphism, due to function overloading,
is a facility found in many languages.
- See section
[canonical].
- See section
[hush-idioms].
- We can distinguish between creational,
structural and behavioral patterns.
For a discussion of their relevance see
section [Patterns].
- See section
[Behavioral].
- The Reactor pattern describes how to deal
with events, in particular when multiple event loops
are involved.
See section [Reactor].
- See section
[events].
slide: Answers