Advanced Programming With Kotlin -Part 2

Kotlin-exclusive features you should be using

Siva Ganesh Kantamani
Programming Geeks

--

Kotlin is a developer-friendly language, and it makes the most challenging job(development) in the world a fun job, no matter in which platform you’re working. With Kotlin, you can create your style of code.

If you haven’t read the first part, I highly recommend you read it. The first article contains a detailed guide on how you use powerful & useful features from Kotlin like extensions, higher-order, and scoped functions.

Having said that, what are you going to learn in this article?
Let’s say we can’t fit the hidden yet powerful features of Kotlin in one or two articles.

Let’s start learning

Kotlin Delegates

A delegate is just a class that provides the value for a property and handles its changes. This allows us to move, or delegate, the getter-setter logic from the property itself to a separate class, letting us reuse this logic.

--

--