Itay Shwartz
Itay Shwartz

Reputation: 1

Does the composite design patterm adhere the principles of SOLID (spacialy the L and the I)?

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?

Upvotes: 0

Views: 103

Answers (0)

Related Questions