Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    can you give some examples? Commented Jun 20, 2012 at 10:23
  • Please tell us the principle that calls for Factory or Chain of Responsibility or Flyweight. Commented Jun 20, 2012 at 16:11
  • 2
    @duffymo Well Factory for example follows Dependency Inversion Principle (not injection); both the client and the instance depend upon the abstraction - the interface. Chain of Responsibility is based on the principles of loose coupling and separation of controlos. Flyweight I believe has only performance gains. Commented Nov 7, 2012 at 21:25