SWE : Design Pattern — Introduction

Part 1 of Design Pattern series

Pisit J.
Pisit J.
Mar 4 · 2 min read

What is Design Pattern ?

Design Pattern isn’t a finished design that can be transformed directly into code.

It is a description or template for how to solve a problem that can be used in many different situations.

Benefits of Design Pattern

Criticisms of Design Pattern

Having learned about Design Pattern, they try to apply them everywhere, even in situations where simpler code would do just fine.

Types of Design Pattern

1. Creational Design Pattern

identify how to create objects.

2. Structural Design Pattern

identify a simple way to manage relationships between objects.

3. Behavioral Design Pattern

identify common communication patterns between objects.