Introduction to Design Patterns
A design pattern in architecture and computer science is a formal way of documenting a solution to a design problem in a particular field of expertise. A design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. A design pattern is not a finished design that can be transformed directly into source or machine code. It is a description or template for how to solve a problem that can be used in many different situations.
In this lesson, part of the “Java Design Patterns” course, you will get introduced to Design Patterns. You will learn what Design Patterns are, why they should be used in our code and how to select and use one. Finally, the categorization of the existing patterns is described.