Command Pattern – Design Patterns (ep 7)

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

💙 BUY MY BOOK:

► The playlist

► Head First: Design Patterns

► Design Patterns: Elements of Reusable Object-Oriented Software

TALKS MENTIONED

► Gary Bernhardt - Boundaries

PRODUCTS MENTIONED (Not paid endorsement but affiliate links)

► Philips Hue (Starter Kit)
I recommend buying more lightstrips than light bulbs :)

💪 Patreon Community

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

2023 and still one of the best Design Pattern Playlists.

Mikenight
Автор

Your design pattern playlist is one of the best explanations about patterns ever. The last video of this playlist is over 4 years old and there are many patterns left (visitor, chain of responsibility, flyweight, builder, etc.). Are there any plans to cover these ones? It would round this awesome playlist more up :)

MGJoe
Автор

It's been more than 5 years for this video yet no one has ever touched your level of explaining things. Simply a gem. It's high time now, please make more such videos.

RajivKumar-qjnw
Автор

Student: Can we do this one by one?

Christopher: Yes, let's do it one by one by one by one.

AlfW
Автор

In my youtube browsing career of 9+ years, this is the first channel/video where I am commenting and liking.
You really deserve this.Hats off to you Christopher Okhravi

AbhishekKumar-xhpi
Автор

You deserve more subs man. One of the few people I can actually stomach when talking and design patterns.

Bigboi
Автор

At around 25:20, Chris mentions that command pattern is similar to strategy pattern, and he wasn't sure what the technical difference was. To me, the difference is that in the strategy pattern, the object that gets passed around is an algorithm (i.e. HOW to do something). On the other hand, in the command pattern, the object that gets passed around is a command (i.e. WHAT to do).

For example, let's say we have a list of elements. If we already know that we want to sort the list, we might use the strategy pattern to determine how to sort the list. On the other hand, we might use the command pattern to determine what operation to apply to the list, such as to sort the list, or to add an element, or to remove an element, etc.

timothyjohns
Автор

Spent 30 seconds on this and immediately Subscribed.

TrueBlueTransformations
Автор

I wish I had these videos back when I studied CS.

You show off everything about the patterns. The What, the How and the Where. Some of these patterns I fully understand now, 8-10 years later.

MichaelKire
Автор

I could listen to you talk about Design Patterns forever!

TheChodex
Автор

Trough out the years i always come back to this channel when it comes to patterns. Noone explains it close as well as you do. Thank u alot

Iboshido
Автор

I'm from Argentina, and I'm studying Information Systems Engineering, and in systems design subject my partners and me are studying Desing Patterns. Your explanations are great for us. Thanks a lot!

ivanbartolelli
Автор

THis is really, really good content. I love how you discuss your own opinions on how these patterns are constructed.

SpoderSuperhero
Автор

Спасибо большое Christopher. У тебя хорошо получается объяснять такие сложные темы простыми примерами из жизни. Как раз то что я искал. Удачи тебе.

danielwagner
Автор

This is the super easy to grasp man.... I'm watching this now, after learning Design patterns before 10+ years back.. I worry, I didn't have YouTube and videos like yours in those days.

jayamalw
Автор

I built an AT Command Builder in order to build specific routines to program a network module. I didn't know that was a design pattern. My head exploded with this awesome video! :) Thank you, Christopher! amazing videos!

danielgallegosibarra
Автор

I've been watching 20+videos these days to get this pattern, this is the one that made me understand what it is !!! thank you so much

federicomagini
Автор

I was really struggling to wrap my head around this one, just because there is a lot of verbiage thrown around very quickly, making it hard to latch onto anything in every other explanation. I really needed the time you took to break out down, rephrase sentences, etc. It's much simpler than everything else made it seem! Thank you so much for making this!

jsharick
Автор

Videos like yours make me wonder why I even bother with most of my uni classes where the explanations are often unclear.
This is so well explained and it probably saved me a few hours of studying. Thanks!

TheVoltarus
Автор

I'm pretty late to comment, but just saw these videos. WONDERFUL! one of the best I've even come across. Thank you so much Sir.

samirswain
visit shbcf.ru