• Post Reply Bookmark Topic Watch Topic
  • New Topic

Any GoF Patterns violate any OO Design Principles?  RSS feed

H Paul
Ranch Hand
Posts: 491
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The important thing is not to stop questioning. Curiosity has its own reason for existing. One cannot help but be in awe when he contemplates the mysteries of eternity, of life, of the marvelous structure of reality. It is enough if one tries merely to comprehend a little of this mystery every day. Never lose a holy curiosity.

Albert Einstein

Precisely, a curiosity. Just a question out of curiosity.

So if and only possible, can you let your valuable experience and/or observation speaks. 1M Thanks.

Quickly and scope-wise OO Design Principles mentioned/interested are:
SRP - Single Responsiblity Principle
OCP - Open Closed Principle
LSP - Liskov Substitution Principle
DIP - Dependency Inversion Principle
ISP - Interface Segration Principle

Does any GoF patterns violates any of the above mentioned?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!