2. Problem-Solution-Reuse
#ISSLearningFest
Christopher Alexander (4 October 1936 – 17 March 2022)
(an architect)
• Designed and built over 100 buildings
• Regarded as the father of the pattern
language movement
• Many urban development projects continue to
incorporate Alexander's ideas.
8. Initial Design – Class Diagram
• Does not leverage on the principle of Polymorphism!
#ISSLearningFest
if-else
statement to
compute total
based on
different
occasions
9. Solving the problem with
Design Pattern
#ISSLearningFest
Look for an
appropriate
Pattern
Adopt the solution
10. Design Patterns by Gang of Four
• GOF-
• Erich Gamma, Richard Helm, Ralph Johnson,
John Vlissides
• Collection of 23 design patterns
• Capture solutions that have evolved over time
#ISSLearningFest