SmartScribs

Quench your Curiosity

Proxy Design Pattern in Golang

Design Patterns are an important ingredient of clean, clear, and scalable code. In this series, we have been exploring the various Design Patterns and how to use them with Golang. In this article, we are going to discuss Proxy Design Pattern in Golang. Proxy Design Pattern, like an adapter pattern, is a structural Design Pattern. […]

Read More

Bridge Design Pattern in Golang

So we are back again, after a long delay to study the Bridge Design Pattern in Golang. The Bridge Design Pattern is more or less used to avoid unnecessary complexity in code.  Just like the adapter pattern, It is a structural design pattern that allows the separation of abstraction from its implementation. In this article, […]

Read More

Adapter Design Pattern in Golang

Adapter Design Pattern is one of the most intuitive design patterns. We can very easily figure out why and where it is needed. In this article, we will try to build an intuition for it and try to implement the Adapter Design Pattern in Golang. Let us try building the intuition behind this Design Pattern. […]

Read More

Prototype Design Pattern in Golang

In this series, we are discussing Design Patterns. In the previous articles, we have already discussed the Object Factory Design Pattern, Singleton Design Pattern. and Builder Design Pattern. After a long break of about a month, we are back again to explore and implement the Prototype Design Pattern in Golang. Prototype Design pattern is a  creational […]

Read More

Builder Design Pattern in Golang

In this series, we are discussing Design Patterns. In the previous articles, we have already discussed the Object Factory Design Pattern and the Singleton Design Pattern. After 10 days break, we are back again to explore and implement the Builder Design Pattern in Golang. Builder design pattern is a creational design pattern that is used […]

Read More

Object Factory Design Pattern in Golang

In the previous article, we discussed about the Singleton design pattern and its sample usage. In this article, we will discuss one more, Object Factory Design Pattern in Golang. Object Factory is the most probably most used design pattern in the OOP world. It deals with instantiation and creation of objects and hence is a […]

Read More

Design Patterns : Singleton

This is the second article of the series, wherein we will be discussing one of the easiest but beneficial design patterns, Singleton. Many times we need an object to be instantiated once and used again and again. This is the niche use case of the Singleton design pattern.  In terms of Golang, which has no […]

Read More

Design Patterns : What and Why?

If you have ever developed a project you must have come across the term design pattern. Design Pattern is a general and reusable solution to a certain type of commonly occurring problem in the world of software design. Please note that Design patterns are not rules, they are guidelines or principles to build a robust, […]

Read More