Kotlin Just Got a Big Update!

Manpreet Singh
2 min readApr 4, 2022

Welcome back! Kotlin is an awesome programming language with a ton of capability, if you’re new to Kotlin, you can check out their website linked below to learn more about it:

Kotlin just got its next big update, Kotlin 1.6.20, if you want to check out their release log, here is a link to it:

So, let’s take a look at some of the improvements brought into this new version of Kotlin!

Receiver Update

This new version of Kotlin brings an update with receivers, we now no longer have the ability of using only one receiver, we can now use context receivers for our different projects! Here is an example of this new addition:

interface LoggingContext {
val log: Logger // This context provides a reference to a logger
}
context(LoggingConte…

--

--