Skip to content
Gang of Four patterns in Kotlin.
Java Kotlin
Branch: master
Clone or download
Latest commit 316127f Nov 16, 2018

pull requests welcome

Gang of Four patterns in Kotlin.

Inspired by

Blog posts:

Watch me talk about it: (2018 @code.talks hamburg)

Pattern Kotlin
Builder apply function / named constructor parameters
Decorator Extension Functions / function composition
Interpreter sealed classes
Iterator operator functions
Observer observable delegate
Prototype Data class
Singleton object declaration
Strategy functions
Template Method (top-level) functions
Visitor Pattern Matching / when

ℹ️ If you import the project into intelliJ, make sure to uncheck "Create separate module per source set"!

You can’t perform that action at this time.