Delegation

Delegation is a technique that makes using composition easier.

A Pitfall of Delegation in Kotlin

Delegation is a great tool that can help a lot with reducing boilerplate. It is not free of its pitfalls however as we'll see in this article.