Download - Problem
Transcript
![Page 1: Problem](https://reader035.vdocuments.site/reader035/viewer/2022071807/56812d77550346895d928cff/html5/thumbnails/1.jpg)
Problem
Solution
Benefits Consequences
Context
Forces
Related patterns
Figure 1. A pattern is a problem-solution pair (adapted from Mowbray [7]).
![Page 2: Problem](https://reader035.vdocuments.site/reader035/viewer/2022071807/56812d77550346895d928cff/html5/thumbnails/2.jpg)
«participates»
«participates»
Account AccountWrapper
OverdraftStrategy
Deduct FeeOverdraft Not Allowed
Strategy patternDecorator pattern
«participates»
«participates»
Figure 2. Two patterns in a banking system (adapted from [9]).