Kotlin Koans BR · Part 11
Kotlin Koans BR: Sealed Classes
12 min read Beginner
Reuse your solution from the previous task, but replace the interface with a sealed interface. That way you no longer need the else branch in the when expression.
Kotlin Koans BR · Part 11
12 min read Beginner
Reuse your solution from the previous task, but replace the interface with a sealed interface. That way you no longer need the else branch in the when expression.
Kotlin Koans BR · Part 8
3 min read Beginner
Pass a lambda to the any function to check whether the collection contains an even number.
Kotlin Koans BR · Part 5
2 min read Beginner
The pattern below matches a date in the format 13.06.1992 (two digits, a dot, two digits, a dot, four digits):
Kotlin Koans BR · Part 1
5 min read Beginner
Change the code so that the start function returns the string "OK".
Kotlin Koans BR · Part 4
2 min read Beginner
Swap the trimIndent call for trimMargin, setting # as the prefix value, so the resulting string no longer contains the prefix character.
Kotlin Koans BR · Part 10
7 min read Beginner
Rewrite the given code using Kotlin smart casts and the when expression.
Kotlin Koans BR · Part 7
2 min read Beginner
Specify the Nothing return type for the failWithWrongAge function.
Kotlin Koans BR · Part 6
5 min read Beginner
Rewrite the following code so that it uses only a single if expression, and learn how Kotlin handles nullable types safely.
7 min read Beginner
In previous articles, we established a foundation in Kotlin Multiplatform (KMP) and how it compiles to multiple platforms.
8 min read Beginner
Over the last few articles, we dug into the inner workings of Kotlin Multiplatform: its paradigm, the compiler architecture, the source sets, the development environment, building and running a sample project, and the essential role of Gradle.
KMP 101 · Part 6
9 min read Beginner
In the last article, we created a project using the KMP Wizard and, with little effort, ran our app on Android, iOS, and Desktop devices.
3 min read Beginner
Over the last few articles we covered key KMP concepts, from the multiplatform paradigm to setting up the environment.