Design Pattern Family: Factory
Slides used for presenting three design patterns: Simple Factory, Factory Method, and Abstract Factory.
Slides used for presenting three design patterns: Simple Factory, Factory Method, and Abstract Factory.
This article describes the widely used design pattern Singleton, and shows how it is trivialized in Kotlin – there is a simple way to implement this pattern correctly, and with less effort.
The Decorator Pattern (a.k.a. wrapper) belongs to the catalogue of structural patterns as defined in the book Design Patterns by GoF.