I think it would be helpful for these to explain the pattern with these simple examples but then show a real world example of it being used. The hardest part, at least for me, is making that jump.
Hi Phil Firstly, I would like to thank you and Rob for your effort in explaining these design patterns. Can you please shed some light on whether we can use Interfaces for the template pattern since C# 8 Introduced default interface implementations. I would really appreciate your help on this.
you are from Microsoft which has created an OS and so many programming languages , IDEs, Tools and what not... but when it comes to explaining a template method pattern...all you got is the example of pizza
Paul Houx it’s a little cheesy at times, but from looking at a lot of different people’s code, they probably should be talked to like a first grader until they can prove a higher level of understanding 🤦♂️
I think it would be helpful for these to explain the pattern with these simple examples but then show a real world example of it being used. The hardest part, at least for me, is making that jump.
I am using this pattern to load cache before I load data from an API -- this algo is same for all of my UI pages so yes a base pattern!
Hi Phil Firstly, I would like to thank you and Rob for your effort in explaining these design patterns. Can you please shed some light on whether we can use Interfaces for the template pattern since C# 8 Introduced default interface implementations. I would really appreciate your help on this.
Full list for this series:
0. SOLID Design Patterns (start from here): ua-cam.com/video/agkWYPUcLpg/v-deo.html
1. Design Patterns: Command/Memento: ua-cam.com/video/zRbHlDeon3E/v-deo.html
2. Design Patterns: Strategy: ua-cam.com/video/QZIvlny1Onk/v-deo.html
3. Design Patterns: Template Method: ua-cam.com/video/MfAvs0n9uMs/v-deo.html
4. Design Patterns: Observer and Publish-Subscribe: ua-cam.com/video/72bdaDl4KLM/v-deo.html
5. Design Patterns: Singleton: ua-cam.com/video/sbML3xFHRbI/v-deo.html
6. Design Patterns: Factories: ua-cam.com/video/JEk7B_GUErc/v-deo.html
7. Design Patterns: Adapter and Façade: ua-cam.com/video/XYa0rmRMZ1Q/v-deo.html
8. Design Patterns: Decorator: ua-cam.com/video/6PPMR0GWrZQ/v-deo.html
Nice video was very easy to follow
Pizza time is best time!
oh no why TakeOrder() method name starting with capital letter ! But very nice pattern and readable code, thanks !!!
you are from Microsoft which has created an OS and so many programming languages , IDEs, Tools and what not... but when it comes to explaining a template method pattern...all you got is the example of pizza
You're addressing your audience as if they are a bunch of first graders.
Paul Houx it’s a little cheesy at times, but from looking at a lot of different people’s code, they probably should be talked to like a first grader until they can prove a higher level of understanding 🤦♂️
That's a good pattern too !!