Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

benefits of DEsign Patterns

 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do we exactly mean by Design Pattern and what are its real benefits while programming.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a nutshell, a design pattern is a reusable solution to a commonly encountered programming problem. The idea of Design patterns in Object Oriented Programming was made popular by the book Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides (affectionately referred to as the "gang of four") first published in 1994.

Many of the patterns described in this book have become very commonly known and used in OOD, such as Singleton, Factory, Decorator, Proxy, Facade, etc.

The advantage of using Design patterns is that they allow you to take solutions that very smart people have created and apply them to your particular programming problem.
 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic