Are Design Patterns really needed.

Before we start explaining the design patterns, first we should now some basic things related to Design Patterns:
  1. What is Design Pattern?
  2. Why Design Patterns?
What is Design Pattern?
– design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. Lets say we have a problem which we used to face very frequently then we used to have a common solution to it, and design patterns are the solutions of frequently occurring problems in software coding or   cycle.   

Why Design Patterns?
Save Time to provide the solution, since we already now the solution.
– Standard way to provide solution to software.

Types of Design Patterns:
  1. Creational

  2. Structural

  3. Behavioral

Creational patterns are ones that create objects for you,
rather than having you instantiate objects directly. This
gives your program more flexibility in deciding which
objects need to be created for a given case.

Structural patterns help you compose groups of objects into
larger structures, such as complex user interfaces or
accounting data.

Behavioral patterns help you define the communication
between objects in your system and how the flow is
controlled in a complex program.

Thanks for reading…I will keep posting….