Skip to content

Commit 3699fba

Browse files
committed
updates
1 parent 137b584 commit 3699fba

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

template/README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Template Method Design Pattern
22

3+
## Videos
4+
5+
Section | Video Links
6+
-|-
7+
Template Method Overview | <a id="udemyVideoLink" href="https://www.udemy.com/course/design-patterns-in-python/learn/lecture/25682448/?referralCode=7493DBBBF97FF2B0D24D" target="_blank" title="Template Method Overview"><img src="/img/udemy_btn_sm.gif" alt="Template Method Overview"/></a>&nbsp;<a id="ytVideoLink" href="https://youtu.be/bZWvQbmUHy8" target="_blank" title="Template Method Overview"><img src="/img/yt_btn_sm.gif" alt="Template Method Overview"/></a>&nbsp;<a id="skillShareVideoLink" href="https://skl.sh/34SM2Xg" target="_blank" title="Template Method Overview"><img src="/img/skillshare_btn_sm.gif" alt="Template Method Overview"/></a>
8+
Template Method Use Case | <a id="udemyVideoLink" href="https://www.udemy.com/course/design-patterns-in-python/learn/lecture/25682452/?referralCode=7493DBBBF97FF2B0D24D" target="_blank" title="Template Method Use Case"><img src="/img/udemy_btn_sm.gif" alt="Template Method Use Case"/></a>&nbsp;<a id="ytVideoLink" href="https://youtu.be/iGLpIEXPGzg" target="_blank" title="Template Method Use Case"><img src="/img/yt_btn_sm.gif" alt="Template Method Use Case"/></a>&nbsp;<a id="skillShareVideoLink" href="https://skl.sh/34SM2Xg" target="_blank" title="Template Method Use Case"><img src="/img/skillshare_btn_sm.gif" alt="Template Method Use Case"/></a>
9+
310
## Book
411

512
Cover | Links
@@ -87,13 +94,3 @@ footer : -- Page 1 --
8794
</body>
8895
</html>
8996
```
90-
91-
## Summary
92-
93-
* The Template method defines an algorithm in terms of abstract operations and subclasses override some or all of the methods to create concrete behaviors.
94-
95-
* Abstract methods must be overridden in the subclasses that extend the abstract class.
96-
97-
* Hook Methods usually have empty bodies in the superclass but can be optionally overridden in the subclass.
98-
99-
* If a class contains many conditional statements, consider converting it to use the Template Method pattern.

0 commit comments

Comments
 (0)