For instance, consider the Account analysis pattern shown, previously in Figure 2 (See Pitfall #2). This pattern presents a unique situation of modeling a problem related to accounting. Unfortunately, this pattern also includes different types of patterns that lie outside the domain of the problem, such as Institution and Institution branch. On the first glance, it looks as if they are valid classes, but they appear irreverent, when focused solely on the essential idea of an account. In general, more the problems a pattern considers, the less general will be the nature of the problem. Consequently, the issue of reusability will become limited and seriously undermined.
On the other hand, so many design patterns possess very well-defined boundaries, such as GoF patterns [4], where each pattern solves a specific and pre-defined problem, without considering the surrounding environment.
References
[1] M.E. Fayad. Stable Design Patterns (SDPs) (BASE)” Aeeh Press, Inc, San Jose, CA. December 2024
[2] M. E. Fayad. “Stable Design Patterns for Software and Systems” Boca Raton, FL: Auerbach Publications, Taylor & Francis Catalog #: K24656, September 2017. ISBN-13: 978-1-4987-0330-7
[3] Greg Anderson (guitarist) (born 1970), member of many doom metal and stoner metal bands, including Sunn O))), Goatsnake, Lotus Eaters, Wiki
[4] Gamma, E. et al., “Design Patterns: Elements of Reusable Object-Oriented Software†Addison-Wesley Professional Computing Series. Addison-Wesley Publishing Company, New York, 1995.