The idea behind factory design pattern is quite simple and it is to help instantiate objects when we require more than just a constructor call.
Simple Domain-Driven Design – Building Blocks
If you are wondering what Domain-Driven Design (or in short DDD) is, why it is such a useful technique, and how it is applied, this post will explain all of this. We will be working bottom up by looking at each DDD building block at a time and iteratively connecting them together in a cohesive […]