I've heard a number of sources state that the decorator pattern violates the single responsibility principle. Me (being new to design patterns) am unsure how.
Does the decorator design pattern violate the single responsibility principle? And if so, how?
Cheers
Aucun commentaire:
Enregistrer un commentaire