Behavioural Design Patterns: The Command Pattern

preview_player
Показать описание
In this video, I will explain what is command pattern and how to implement in Java.

My Creational Design Patterns Series Link:

My Structural Design Patterns Series Link:
Рекомендации по теме
Комментарии
Автор

Right on track and to the point, one of the best videos on this topic I've seen, well done and keep 'em coming :)

adebnaaath
Автор

As you said on your video Light and Motor can have different methods to turn on and of. Like light.on() and motor.start(). But you have used common interface Reciever which Light and Motor are extending. this might not be the case in a real-world scenario.

manishsakariya
Автор

Greatly thanks Dude. Very nicely explained. Eager to watch the complete collection.👌

ajaybabusingineedi
Автор

Bro I did not like your example as it is not real-life scenario. How many devices do we control using one button in the home exactly one right?

SandeepMishra-idxh