Can an adapter-patter adapter store state in its object or class?
An adapter would ideally be a bridge between two interfaces. However, when it needs to do relatively complex work, how do we decide what state is passed in, versus what state is 'hard coded' within the class or object?
Aucun commentaire:
Enregistrer un commentaire