Command Design Pattern
- by pchajer
After reading command design pattern, I have a couple of question -
Why we are creating concrete command and receiver object on client. Can't this initialization on invoker class?
I think client should create invoker and pass it's request to invoker. Invoker should take care of all the stuff.
By doing this,
We have less dependency on client.
The design of class diagram is totally different from actual design.