Part 5: Functional & Advanced

Embrace Kotlin’s functional style and its more advanced language features.

What You’ll Learn

  • Lambdas, higher-order functions, function references, and inline
  • Scope functions: let, run, with, apply, also
  • Class delegation and delegated properties
  • Operator overloading and conventions
  • Building type-safe DSLs
  • Exceptions, annotations, and reflection basics

Chapters

Chapter Description
Lambdas & Higher-Order Functions Function types, lambdas, references, closures
Scope Functions let/run/with/apply/also
Delegation Class delegation by, delegated properties
Operator Overloading Operator overloading, destructuring
Type-Safe Builders (DSLs) Type-safe builders, @DslMarker
Exceptions & Reflection runCatching, annotations, reflection

Table of contents


Back to top

Kotlin & Android Programming Guide is not affiliated with JetBrains or Google. Content is provided for educational purposes.

This site uses Just the Docs, a documentation theme for Jekyll.