mercredi 11 décembre 2019

Design Pattern for OCP?

I have an argument with a guy where he mentioned the observer pattern for open/closed principle, where I asked is there any other and while saying that I mentioned can we achieve that by having the abstract factory pattern or any other, but he insists on the observer pattern.

I hope you get my concern about being putting this question here so to get the un-bias answers that one who worked with or having knowledge of certain patterns they like to refer to those for certain problems.

Q: Design Pattern for OCP? Is there are specific patterns for OCP?

Aucun commentaire:

Enregistrer un commentaire