The Magic of Delegates in Kotlin
5th November 2020
Speaker Time: MDT: 18:00-19:00
Attendee Date: 5th November 2020
Attendee Time: IST: 06:30-07:30 | SGT: 09:00-10:00 | AEST: 12:00-13:00
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.