Some patterns in Kotlin

Content:

Original link: Decorator Pattern in Kotlin — Embracing Open/Closed Principle / ItNext / Ioannis Anifantakis.

It is an OK intro to strategy and decorator patterns in Kotlin.

I don't like the example. I think the example smells of overengineering. But on the other side then examples needs to be simple.

Comments: