8000 GitHub - b4zz4r/gof-in-kotlin: Gang of Four patterns in Kotlin.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

b4zz4r/gof-in-kotlin

 
 

Repository files navigation

pull requests welcome

Gang of Four patterns in Kotlin.

Inspired by https://github.com/mariofusco/from-gof-to-lambda

Blog posts:

Watch me talk about it: https://youtu.be/xxGCVVtMVn4 (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"!

About

Gang of Four patterns in Kotlin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 64.7%
  • Kotlin 35.3%
0