Decorator Pattern – Design Patterns (ep 3)

preview_player
Показать описание
Video series on Design Patterns for Object Oriented Languages. This time we look at Decorator Pattern.

💙 BUY MY BOOK:

► The playlist

► Head First: Design Patterns

► Design Patterns: Elements of Reusable Object-Oriented Software

💪 Patreon Community

📚 Products I Recommend
Рекомендации по теме
Комментарии
Автор

Hey Christopher, when you mention you use the Decorator pattern when trying to deprecate the usage of some class, wouldn't an Adapter/Facade pattern be better for that? I'm new to design patterns so I'm just trying to analyze it a bit :) BTW, when is the next pattern coming out?

bot-bot
Автор

dude, I haven't even noticed when almost an hour passed. I was never this interested and focused on a video before. Good job. Excellent teaching flow.

jean_luc_retard
Автор

This man's explanation is so much better than any prof I have in uni and all other YouTubers. Thank you.

serkangoktancelik
Автор

One of the best explanation in YouTube pattern videos, classic!

rizvinazish
Автор

I love how the cat wanted to learn about the Decorator pattern at the end. Love the videos by the way

fordsim
Автор

This series is becoming one of my favorite coding tutorial series here on YouTube, as a combination of the delivery and the value. Every video keeps me engaged from beginning to end, and each has all I need to start applying the concept to my own projects. Thanks for making them.

FlipYourLearning
Автор

You asked us in the video if you should change anything. Please don't change anything. Your videos are goddamn awesome! Just keep making more videos. The community needs people like you who have the knack to explain things the way you do. Man, you are 100 times more valuable than all my university professors put together. World's best CS instructor!

kareemjeiroudi
Автор

More than Youtube supporting you, its actually you are helping youtube to provide such a quality content to public. Thanks for sharing this.

shanm
Автор

I cleared three interviews back to back ... coz of this man... keep it up...

uddishh
Автор

@2:38 Wow... I spent, like, 3 days a couple months ago researching Abstract classes and didn't manage to gain, like, a lick of insight. This guy sums it in a TOTALLY understandable way in all of a minute.. and this tutorial isn't even about abstract classes!!

ryancederoth
Автор

The best part of this video series that Christopher Okhravi is teaching from a book. At first these vidio series were not making any sense to me. But after I read the chapter from the book and came back to this video I understood the concept even better. Thanks Christopher for making videos on Youtube. I wonder where have you gone since 6 years now !!!!

abdulquadiransari
Автор

by far, you are the best.
your teaching and explaining methods are simple and easy ( and in the world of programming, that is priceless )
waiting for the next episode.

owner
Автор

CRAP, I was recommended your videos by the YT Algorithm and I was like, "nah, I'm just a Junior Dev, I ain't gonna need Design Patterns for another year"...
WRONG!
So glad the algorithm found you again.
Subscribed.

Venezuelangel
Автор

the way you are teaching is genius, I watch one video and get it all, no need to look anything up afterwards

Gobberfisch
Автор

This is really good stuff. Please don't stop making these videos, unless you've already exhausted all the information of course. You're a really good teacher and you're easy to follow.

yussufclark
Автор

It's funny because before watching your videos I was getting information about patterns on different sources, and it seemed to me that all different sources were saying different things on the same pattern. Then after watching your videos I realized that all these sources were saying the same thing. Definitely the simplest explanation ever. Thank you!

ylli
Автор

When reading the book I kept on asking myself why we were calling the toppings (Soy, Mocha, Whip, etc) beverages and even using an "IS-A" relationship when they clearly aren't beverages lol. So those two key pieces of information at the end really helped me understand this pattern.
1. You should look for alternatives if the Decorators you are using aren't actually of the type of component which you are initially wrapping.
2. You shouldn't use Decorator Pattern when the only variation between Decorators is a couple of properties.

I feel like watching your explanations really complements the information in the book and will continue to watch the rest of the series. Thanks for this!

panosgr
Автор

Next ep is slightly delayed due to crunch time at work. But I'll get it up asap.

ChristopherOkhravi
Автор

I've never heard a better explanation of the decorator design pattern. Thank you.

rob
Автор

Came here after reading and leaving Head First's Decorator chapter confused. This video makes everything super clear! Thank you.

pcccmn
join shbcf.ru