dimanche 9 décembre 2018

Facade and Abstraction occurrence patterns

One of the important advantages of the facade pattern is that it decreases the dependencies between classes, which is not clear to me as I don't know any example that implements this pattern. Also, I know that we use the abstraction occurrence pattern so that we make one class that hold the common information between related objects and we make another class that holds the occurrences of these objects , but I still can't figure out what is the advantage of doing so, because we still can make a single class that can create these related objects ? So please someone clarify these two points.

Aucun commentaire:

Enregistrer un commentaire