What are all of those Kotlin function types for?

Published: 15 January 2025
on channel: Dave Leeds
3,796
302

Kotlin's got a surprising number of function types - what are they used for? In this video, we'll look at the range of different function types - from regular function types to KCallable, KFunction, KProperty, the Function interface, and more - and get a grip on when we might want to use each one.

✨ 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 Kinds of Functions
01:58 Regular Function Types
02:48 The Function and FunctionN Interfaces
05:55 KFunction and Friends
08:50 Things to Keep in Mind
10:01 Wrap-up