Why is decorator a structural pattern and chain of responsibility isn't?
The only difference between these two is that one passes along no matter what, while the other will be handled by exactly one object.
How does this difference make one a structural pattern and the other behavioral pattern?
Aucun commentaire:
Enregistrer un commentaire