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

preview_player
Показать описание

►Lesson Description: In this lesson I present to you the basics of the Observer Design pattern in C++ with the theory and a first implementation. We will implement the most naive version of the observer pattern so that you understand from scratch exactly how to create this pattern. I'm going to do this in an object oriented manner, but it need not be limited to just object oriented programming.

00:00 Introduction
01:00 Theory of where to use Observer Pattern
10:20 Implementation of Observer Concrete Class
12:30 Implementation of Subject Concrete Class
16:30 Creating a simple test
20:30 Review of our simple implementation
21:53 Conclusion

►Please like and subscribe to help the channel!
Рекомендации по теме
Комментарии
Автор

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

nikhilbhandary
Автор

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

kulasekhar
Автор

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

AG__m_a
Автор

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

k
Автор

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 💪🙏.

tonym
Автор

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

Southpaw
Автор

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

thestarinthesky_
Автор

Very interesting! Thanks for this video!

pedrolobo
Автор

Can you make a video of Data Oriented Design??

santiagozamora
Автор

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

grenadier
Автор

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

visitor_t-wp
Автор

Thanks man. When's the next part coming?

ssaadhussain
Автор

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) 😜

bsdooby
Автор

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

ArturasDruteika
welcome to shbcf.ru