Factory Design Pattern
With an Example in Java

Search for a command to run...
Articles tagged with #design-patterns
With an Example in Java

Aggregates with an example in Golang

The 2nd part of chapter 5 in Domain-Driven Design by Eric Evans talks about modules (a.k.a. packages) and how to correctly divide the objects into modules to serve the purpose of the domain model and support the communication between the developers. ...

Domain-Driven Design Chapter 5.1

Continuing my Intro to Design Patterns series; today I will explain the singleton design pattern. You know how you can have one global variable in your application? Singleton pattern is the same but for classes. The Singleton design pattern is a crea...

If you have studied computer science or software engineering then you have probably came across design patterns. If you haven't, chances are you have faced problems that could have easily been avoided with a design pattern. In this article, I will ex...
