Please enable JavaScript.
Coggle requires JavaScript to display documents.
Intro to Design Patterns, ., . - Coggle Diagram
Intro to Design Patterns
Object-Oriented Basics
Abstraction
Encapsulation
Polymorphism
Inheritance
Composition
Object-Oriented Principles
Favor Composition over Inheritance
HAS-A can be better than IS-A
Program to interfaces, not implementations
varying methods can be assorted by "behavioural" interfaces (classes)
Encapsulate wath varies
Object-Oriented Patterns
Strategy
defines a family of algorithms
encapsulate each algorithm
Make them interchangeable
Algorithm may change independently from user
Observer
(will learn later...)
are proven o-o expirience
address issues of
change
.
.