MENU

Fun & Interesting

Fun with Function Types in Kotlin

Dave Leeds 5,049 6 months ago
Video Not Working? Fix It Now

Let's look at the different kinds of function types in Kotlin, and see how we can call regular functions - and even property setters - as if they were extension functions! In this video, we'll examine standard function types, extension function types, bound references, and property references - and we'll pick up some fun tricks along the way! ✨ New to Kotlin? Start your journey here: https://typealias.com/start/ ... or pick up the new Leanpub Edition for offline access and more! https://book.typealias.com/ 🚀 Get the inside scoop on everything I'm working on - join my new email newsletter! Sign up here: https://newsletter.typealias.com/ 📚 Chapters 00:00 Functions with and without a Receiver 02:04 Function and Extension Function Types 05:19 Bound References 06:43 Property References 10:39 Wrap-up

Comment