Does the composite design template adhere to the principles of solid? if all the compositing method are declared at the component its violation of the Interface Segregation Principle. if compositing method are declared at the composite its violation of Liskov Substitution Principle - because we change are behaver when it leaf and when it composite. am i wrong?
Aucun commentaire:
Enregistrer un commentaire