vendredi 15 avril 2016

What is the difference between delegation and indirection patterns

My understanding of indirection design pattern from GRASP design patterns is that an object is essentially delegating responsibilities that are not cohesive to itself to another object whose sole purpose is to implement that responsibility. So then what is the difference between a delegate design pattern and an indirection design pattern? Aren't they both delegating responsibilities or is the delegate pattern a way to implement an indirection design pattern?

Aucun commentaire:

Enregistrer un commentaire