codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Follow publication

Member-only story

Design Patterns 101

Ashis Chakraborty
codeburst
Published in
7 min readAug 19, 2020

learn design pattern tips
Photo by Pixabay of Pexels

The design pattern is one of the most important but feared aspects of software engineering, especially for people who are new to the topic. This article has been based on my own learning experience of software design patterns so, if you are a beginner, this one is surely for you.

When I started my associate architecture course, I had a hard time understanding the different software design patterns. The main reason for this was that the terms which are used in the patterns are pretty hard to understand at first. Besides this, it can hard to know which books should you read or which websites provide better guidance around the concept, so knowing how to progress can be tricky.

With this in mind, I wanted to create an introductory guide to design patterns. This article will start by going a bit deeper into the subject matter in an attempt to remove any mental blocks that this concept may bring up.

What is a design pattern?

According to Wikipedia, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design.

The context is the situation in which you can apply the pattern. The problem refers to the goal you are trying to achieve in this situation. The solution is a general design that anyone can apply which resolves the goal and set of constraints.

According to the Gang of Four(GoF) book, there are 23 design patterns. You may say that they are the fundamental design patterns.

fundamental design patterns
Figure: Fundamental design patterns

If you are a beginner and are having a hard time understanding the concept, or are confused by why the term “design” appears in the name, the first thing to do is forget about the word “design”.

creative design pattern
A Creative Design; Photo by William Felker on Unsplash

The word “design” can be confusing because it may create the perception that you’re having to create a visual…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Write a response