Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caller is decoupled or not decupled from Command? #41

Open
kampiamodikuesto opened this issue Jul 8, 2023 · 1 comment
Open

Caller is decoupled or not decupled from Command? #41

kampiamodikuesto opened this issue Jul 8, 2023 · 1 comment
Assignees

Comments

@kampiamodikuesto
Copy link

hi, i'm reading "Commands, Dispatcher, Processor — Brighter" and it's a very interesting doc " but i can't understand some paragraphes because i think that they are contradictory:
At the beginning of Command sections:
"It also serves to decouple the implementation of the request from the requestor. The caller of a Command object does not need to understand how the Command is implemented, only that the Command exists."
At the end of Command sections:
"The problems with the Command pattern are that the caller is coupled to a specific Command at the call site"

Could you give me more information to understand more about this?

@iancooper
Copy link
Member

@kampiamodikuesto Sorry I missed this. I am working on some tooling around documentation right now, and we will get to this.

@iancooper iancooper self-assigned this Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants