jpaek.com/design_patterns
Design patterns were popularized by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. Commonly referred to as Gang Of Four (GoF). They popularized a book titled "Design Patterns: Elements of Reusable Object-Oriented Software" in 1994.
Why I'm writing thisI started work as an instructional associate for the software and architecture course soon after graduating (masters in cs at Georgia Tech). My hopes are it can serve as a good resource for students. Also, good chance to deep dive into every pattern.
UpdateMoved and invited to join natural language processing the following semsester. I think quite exciting here at the intersection of AI and machine learning. So a pause on these architectural patterns for the time being while I settle in.
March 22, 2023
The abstract factory pattern helps to create families of related objects through the use of individual factories. One key insight (which was helpful to me) is to fully grasp "families of related objects". Using the Wikipedia diagram for reference…
March 22, 2023
The Gang of Four [1] advocates favoring "composition over inheritance". Favor "object composition" over "class inheritence". What this means is do not extend from a parent class. Consider instead to compose references to the parent class. When using…