The Observer Design Pattern in C++ - Part 1 of n - A simple implementation

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

ความคิดเห็น • 37

  • @nikhilbhandary7153
    @nikhilbhandary7153 ปีที่แล้ว +9

    Arguably one of the best introductions to Observer pattern. Thanks Mike! Looking forward to your next videos on these topics.

    • @MikeShah
      @MikeShah  ปีที่แล้ว

      Cheers, thank you for the kind words!

  • @santiagozamora914
    @santiagozamora914 ปีที่แล้ว +4

    Can you make a video of Data Oriented Design??

    • @MikeShah
      @MikeShah  ปีที่แล้ว +1

      Will eventually! :)

  • @k0185123
    @k0185123 2 หลายเดือนก่อน +1

    Hello Prof. Shah, thank you again for sharing these invaluable insights and help the very new beginners to learn CPP!

    • @MikeShah
      @MikeShah  2 หลายเดือนก่อน

      Cheers, you are most welcome!

  • @pedrolobo9835
    @pedrolobo9835 ปีที่แล้ว +2

    Very interesting! Thanks for this video!

  • @shreyabisen4729
    @shreyabisen4729 3 หลายเดือนก่อน +1

    Thanks for the explanation!

    • @MikeShah
      @MikeShah  3 หลายเดือนก่อน

      Cheers, you are most welcome!

  • @thestarinthesky_
    @thestarinthesky_ ปีที่แล้ว +2

    Would you please have a video on object pool too? Thank you. Love your channel.

    • @MikeShah
      @MikeShah  ปีที่แล้ว +1

      Cheers! That is a great pattern, will add it to the wishlist!

    • @thestarinthesky_
      @thestarinthesky_ ปีที่แล้ว +1

      @@MikeShah thank you Mike 😍

  • @kulasekhar
    @kulasekhar ปีที่แล้ว +2

    Wow! whatever I search for and wish to learn, find your week old video for that same concept! Thank you

    • @MikeShah
      @MikeShah  ปีที่แล้ว +1

      Cheers, thank you for the kind words

  • @visitor_t-w3p
    @visitor_t-w3p 5 หลายเดือนก่อน +1

    U have made it very easy to understand, thanks ~Mike();

    • @MikeShah
      @MikeShah  5 หลายเดือนก่อน

      Cheers!

    • @Dazza_Doo
      @Dazza_Doo 2 หลายเดือนก่อน +1

      did you just deconstruct Mike? 🙈🙉🙊

    • @MikeShah
      @MikeShah  2 หลายเดือนก่อน

      @@Dazza_Doo 🤣

  • @grenadier4702
    @grenadier4702 ปีที่แล้ว +1

    Does that the same as the pattern "pub/sub" and "event emitter"? Sounds so

    • @MikeShah
      @MikeShah  ปีที่แล้ว +1

      pub and sub is the same idea here. I haven't used EventEmittter in javascript, but conceptually it seems similar (Not sure on technical details of what eventemitter otherwise provides in addition to this pattern).

    • @grenadier4702
      @grenadier4702 ปีที่แล้ว +1

      @@MikeShah got it, cheers

  • @ssaadhussain902
    @ssaadhussain902 ปีที่แล้ว +1

    Thanks man. When's the next part coming?

    • @MikeShah
      @MikeShah  ปีที่แล้ว

      Cheers! Next part coming in 2 to 4 days ;)

  • @tonym5857
    @tonym5857 ปีที่แล้ว +1

    Observer is a usefull pattern for example web dev in Angular used it, every time action happen in object doom is updated. Patterns is the next level I recommend the Book Design Pattern. Thank you for this great video, I will follow it to learn more 💪🙏.

  • @Southpaw101
    @Southpaw101 ปีที่แล้ว +1

    Great explanation. Nice title ... Part 1 of n... cool

    • @MikeShah
      @MikeShah  ปีที่แล้ว +1

      Cheers! It's at least 2 parts ;)

  • @Andrew_Guerrand_
    @Andrew_Guerrand_ ปีที่แล้ว

    Hi Mike! Just wanted to thank you for all your videos. They are of high quality and greatly appreciated!

  • @bsdooby
    @bsdooby ปีที่แล้ว

    Do you also intend to present "higher order" (compound) design patterns (like MVC)?
    And you can spare yourself a few key strokes by not writing `return 0;` in `main` ( it is not mandated by the C++ standard) 😜

    • @MikeShah
      @MikeShah  ปีที่แล้ว +1

      Probably will add MVC at some point :) And neat :)

  • @ghulam2545
    @ghulam2545 ปีที่แล้ว +1

    👌👌👌

  • @philtoa334
    @philtoa334 ปีที่แล้ว +1

    Thanks.

  • @ArturasDruteika
    @ArturasDruteika ปีที่แล้ว

    Very good channel on cpp tuts. Are you planning on making the adapter pattern video as well?

    • @MikeShah
      @MikeShah  ปีที่แล้ว +1

      Yes, will eventually add 🙂