Комментарии:
Very difficult to understand please use some highlighting arrows when you’re explaining each part of code
ОтветитьYour video's are just amazing !!! but for this one I find it so difficult to understand. :(
ОтветитьThis login example is hard to understand. I watched it two times, still didn't get it.
Why a login button should be generic?
A button for say Register can be different from a button for login
and both classes can extend a button interface and do independent job.
You can implement airplane example.
The code in this one doesn't feel quite right. The whole point of mediator is to encapsulate communication between colleagues . The example used here though not technically incorrect, didn't capture that clearly for learners, since only one colleague(LoginButton) is calling the mediator. I had to watch another video to get it.
ОтветитьSince all design patterns involves interfaces. I find personally difficult to grasp it. May be I should read again and again.
Ответить