Design Patterns: Template Method

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 12

  • @RoyalDoyle845
    @RoyalDoyle845 7 років тому +8

    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.

    • @junaidsakib5604
      @junaidsakib5604 4 роки тому

      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!

  • @Rajesh-wc3co
    @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.

  • @fwd79
    @fwd79 6 років тому +1

    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

  • @martinshields7122
    @martinshields7122 7 років тому

    Nice video was very easy to follow

  • @Rhodair
    @Rhodair 7 років тому +1

    Pizza time is best time!

  • @prashantsingh1096
    @prashantsingh1096 3 роки тому +1

    oh no why TakeOrder() method name starting with capital letter ! But very nice pattern and readable code, thanks !!!

  • @boosleash
    @boosleash 2 роки тому +1

    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

  • @krytharn
    @krytharn 7 років тому

    You're addressing your audience as if they are a bunch of first graders.

    • @wittrura
      @wittrura 4 роки тому +1

      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 🤦‍♂️

    • @prashantsingh1096
      @prashantsingh1096 3 роки тому

      That's a good pattern too !!