Tagged "design-pattern"

Design Pattern Family: Factory

Slides used for presenting three design patterns: Simple Factory, Factory Method, and Abstract Factory.

A Design Pattern Trivialized by Kotlin: Singleton

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.

Notes on the Decorator Design Pattern

The Decorator Pattern (a.k.a. wrapper) belongs to the catalogue of structural patterns as defined in the book Design Patterns by GoF.