Strategy Pattern - DESIGN PATTERNS (C#/.NET)

Поділитися
Вставка
  • Опубліковано 25 чер 2024
  • Learn about the strategy pattern, which is a behavioral design pattern that decouples an algorithm from the client that uses the algorithm. This ultimately allows the client to support multiple implementations of the strategy and allows the strategy to be used by other clients. Similar to other patterns, the strategy pattern enforces the concept of favoring composition over inheritance.
    Design patterns are important for implementing object-oriented designs and adhering to SOLID principles. Understanding these fundamental patterns helps software developers build clean and maintainable applications.
    🕗 Timestamps:
    0:00 - Pattern Introduction
    0:44 - Demo Introduction
    2:41 - Not Using the Strategy Pattern
    8:38 - Using the Strategy Pattern
    10:38 - Depth-First Search Strategy
    13:19 - Delegating to the Strategy
    14:27 - Breadth-First Search Strategy
    19:22 - Summary
    📦 Source code: github.com/SingletonSean/desi...
    🔁 Full playlist: • Design Patterns
    🔗 Property changed snippet (propchange): singletonsean.s3.amazonaws.co...
    🎉 Celebrate the channel members: members.seandodson.com
    💎 Become a member: / @singletonsean
    📝 Check out my blog: seandodson.com
    🏆 Donate: www.paypal.com/biz/fund?id=UB...
  • Наука та технологія

КОМЕНТАРІ • 8

  • @SingletonSean
    @SingletonSean  Рік тому +3

    I probably wasted a lot of time implementing the various search algorithms. I hope those search algorithms are nice refreshers, but feel free to skip over the parts that go in-depth with the algorithm implementations 😁

  • @caseyspaulding
    @caseyspaulding Рік тому

    Thanks!

  • @ivandrofly
    @ivandrofly Рік тому +1

    Thanks, just join subscription for this :D

  • @Pipochka78
    @Pipochka78 11 місяців тому +1

    Thanks for videos Sean!
    As always brilliant!
    Just a small question for you. How to get sponsor authorization to get an ability to watch some restricted content on your channel? Is there any site there I need to be or...?

    • @SingletonSean
      @SingletonSean  11 місяців тому +1

      Hi Pipochka, glad these videos are helpful! The restricted content is for paid "members" of the channel. There's a join link in descriptions of newer videos, and I think there's a link on the main channel page (might not be there on mobile app).
      Also, I release the restricted content to the public eventually, so don't feel pressured to join :-) it is a great option for early access though. I'm working on improving the member perks.

  • @easton7390
    @easton7390 11 місяців тому

    💖 Promo*SM

  • @bl1c
    @bl1c Рік тому +1

    ❤❤❤❤