Posts List

The Problem with Kotlin Kfunction Receiver Functions

The Problem with Kotlin Kfunction Receiver Functions

KFunction can be written in more than one way. Here’s a list of analogues, plus some criticism of the Receiver Function.

Generics + Reflection + Type Inference + Reified Type = Kotlin Magic

Generics + Reflection + Type Inference + Reified Type = Kotlin Magic

With Kotlin, it’s easier than ever to code with reflection and generics. This post attempts to give one example.