Search⌘ K
AI Features

Introduction to Fluency in Kotlin

Explore how to write concise, expressive Kotlin code by mastering operator overloading, extension functions, and infix notation. Understand the benefits of fluent code in reducing maintenance costs and improving productivity. This lesson helps you create readable and efficient Kotlin programs, preparing you for advanced techniques like DSL creation.

We'll cover the following...

Programmers often say that Kotlin code is beautiful, and there are good reasons for that. Kotlin code is concise, has less ceremony, and the language provides hygienic syntax to extend the capabilities of existing classes to add domain-specific methods and properties. You’ll see the fluency of Kotlin shine in this part, and you’ll learn to apply the capabilities of the language to implement your own fluent APIs and internal domain-specific languages. You’ll also learn about the optimization Kotlin provides for recursion so ...