Design Patterns

What is design pattern

Introduction

In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. In other word, we can say design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects.

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.

Design patterns are documented tried and tested solutions for recurring problem in given context.

Use of design Patterns

Design patterns can speed up the development process by providing tested, proven development paradigms. Effective software design requires considering issues that may not become visible until later in the implementation. Reusing design patterns helps to prevent subtle issues that can cause major problems and improves code readability for coders and architects familiar with the patterns.

Often, people only understand how to apply certain software design techniques to certain problems. These techniques are difficult to apply to a broader range of problems. Design patterns provide general solutions, documented in a format that doesn't require specifics tied to a particular problem.

In addition, patterns allow developers to communicate using well-known, well understood names for software interactions. Common design patterns can be improved over time, making them more robust than ad-hoc designs.

  • Time-tested solutions to recurring design problems.
  • Speed up the development process.
  • Improve developer/architect communication.

Post your Suggetion or Comment
Name :
Email Address :
Comment :