Best explanation i've found so far. Wish you'ld continue the series...
@sheacole12947 жыл бұрын
This was one of the more helpful explanations of the Facaded pattern that I have found. I would be interested in seeing this implemented in vanilla JavaScript in a real world application.
@Videosuser3 жыл бұрын
This was one of the more helpful explanations of the Facaded pattern that I have found(2)
@PROFjavi7 жыл бұрын
hey! I like the way you did it but if anybody watching this wants to save some time you can just do this at the beginning instead.... I've commented out the boilerplate code, take a look at the differences in the constructor. class HomeTheaterFacade { // private bluray: BlurayPlayer; // private amp: Amplifier; // private lights : Lights; // private tv : TV; // private popcornMaker: PopcornMaker; constructor(private amp: Amplifier, private bluray: BlurayPlayer, private lights: Lights, private tv: TV, private popcornMaker: PopcornMaker) { // this.bluray = bluray; // this.amp = amp; // this.lights = lights; // this.tv = tv; // this.popcornMaker = popcornMaker; }
@ThePri17074 жыл бұрын
Amazing explanation Thanks a lot. Short. Sweet. Simple.
@kimslava936 жыл бұрын
Hey there! Thanks for making so simple and cool videos. I have a small question, in your video you are using let even for the constant values, is there any reason why are you using let instead of const? Is there any best practice rule to do it in this way?
@simplyexplained6 жыл бұрын
Best practice is indeed to use 'const' whenever you can. I apparently forgot to do that in this video. The code still works, but as you said, better to use const.
@hangchen61317 жыл бұрын
Haha this is actually more intuitive than decorator and observer, which actually I have already been using.
@remomagalhaes470710 ай бұрын
Very nice indeed
@EdwinNiwaha Жыл бұрын
You are the best
@mohameddaho52036 жыл бұрын
Great, thank you
@enriqueruiz3202 жыл бұрын
😱😱😱
@rayaqin7 жыл бұрын
Why do these comments seem so fake?
@PROFjavi7 жыл бұрын
? your comment seems the most fake/non-contexual... just saying.