A design pattern can solve many problems by providing a framework for building an application. Existing design patterns make good templates for your objects, allowing you to build software faster. The...
A design pattern is not code, per se, but a "plan of attack" for solving a common software development problem. The GOF had distilled the design patterns in their book into three main subject areas: Creational, Structural, and Behavioral.