/Software-design-patterns

Software design pattern

Primary LanguageJava

Why this repository?

I am reading Head First Design Patterns and Elements of Reusable Object-Oriented Software books. This is my practice repository.
Day by day I will add new design patterns which I will learn in the future.

Design pattern

In software engineering design pattern is a repeatable solution to a commonly occurring problem. It's not a finished design that can be directly transformed into source code. Rather, It is a description or template for how to solve a problem that can be used in many different situations.

Design patterns are not mandatory rather it represents the best practices used by experienced object-oriented software developers.

Types of design pattersn

  • Creational design patterns
  • Structural design patterns
  • Behavioral design patterns

Creational patterns

  1. Factory pattern
  2. Abstract factory pattern.