The Magic of Delegates in Kotlin
Very many good books on OO design have advised us to choose delegation over inheritance. Yet, most developers using OO languages like Java use inheritance predominantly compared to delegation. Part of the reason is the lack of support for delegation when compared to inheritance. In this presentation we will see how Kotlin has first class support for delegation. We will look at how delegation helps us better model relationships and take a look at some usecases of applying delegates in Kotlin.
You may also be interested in
Non-violent communication will help you communicate with your coworkers in a manner that enables productivity and helps you understand how...