Context: |
"Dynamic classification": The implementation of object functionality, possibly related to internal representation (e.g. number internal representation) is determined during object creation time and may change later due to assignment. |
||||||
Challenge: |
To separate the interface from implementation, possibly allowing the replacement of the latter. |
||||||
Skill: |
|||||||
Participants: |
|
||||||
Signature: |
Context contains Implementation and represents it. |
||||||
Used patterns and idioms: |
(Optionaly) Double Dispatch idiom, (optionally) Algebraic Hierarchy. |
||||||
Comment: |
A simplified form of the GOF pattern by the same name (lacking the Concrete Behavior). |
||||||
Source: |
Coplien. |
||||||
Scope: |
General. |