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.
@junaidsakib56043 жыл бұрын
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!
@fwd795 жыл бұрын
Full list for this series: 0. SOLID Design Patterns (start from here): kzfaq.info/get/bejne/l82biryBusmwoJs.html 1. Design Patterns: Command/Memento: kzfaq.info/get/bejne/sLiSe891ytXSY3k.html 2. Design Patterns: Strategy: kzfaq.info/get/bejne/h8B5qc-f3peznp8.html 3. Design Patterns: Template Method: kzfaq.info/get/bejne/g8xxqdZh05_Zfac.html 4. Design Patterns: Observer and Publish-Subscribe: kzfaq.info/get/bejne/bZiSl8R10ZqvfIE.html 5. Design Patterns: Singleton: kzfaq.info/get/bejne/qch9f5apq662kn0.html 6. Design Patterns: Factories: kzfaq.info/get/bejne/gKubaqWQrLupopc.html 7. Design Patterns: Adapter and Façade: kzfaq.info/get/bejne/jr-RY9Wet7O-YYU.html 8. Design Patterns: Decorator: kzfaq.info/get/bejne/bLaAgLVhrL3WioU.html
@Rajesh-wc3co Жыл бұрын
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.
@martinshields71227 жыл бұрын
Nice video was very easy to follow
@Rhodair7 жыл бұрын
Pizza time is best time!
@boosleash2 жыл бұрын
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
@prashantsingh10963 жыл бұрын
oh no why TakeOrder() method name starting with capital letter ! But very nice pattern and readable code, thanks !!!
@krytharn7 жыл бұрын
You're addressing your audience as if they are a bunch of first graders.
@wittrura4 жыл бұрын
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 🤦♂️