I'm new to Design Patterns and am trying to learn how they typically look like. Right now I'm trying to understand the Facade Pattern. I feel like the Facade Pattern is a rather broad concept, and so I was wondering if my second diagram would be considered a part of the Facade Template.
I know a typical Facade Pattern basically looks like this(with the A-class being the facade):
But what if we have a more subtle diagram like this:
Would the A-class still be considered a Facade-class or does it depend on the context?
Aucun commentaire:
Enregistrer un commentaire