filmov
tv
Algorithm Abstraction - Using the Strategy, Template Method, and Decorator

Показать описание
The algorithm abstraction design patterns allow us to abstract a method out of a class. How do we do this? This video will demonstrate the process and describe the three variations: Strategy, Template Method, and Decorator
0:00 Introduction
0:31 Problem
1:29 Strategy Motivation
2:16 Strategy Implementation
4:02 Template Method Motivation
4:51 Template Method Implementation
6:06 Decorator Motivation
6:41 Decorator Implementation
8:03 Conclusion
0:00 Introduction
0:31 Problem
1:29 Strategy Motivation
2:16 Strategy Implementation
4:02 Template Method Motivation
4:51 Template Method Implementation
6:06 Decorator Motivation
6:41 Decorator Implementation
8:03 Conclusion