Ahmed Madhoun
ahmed-madhoun1.bsky.social
Ahmed Madhoun
@ahmed-madhoun1.bsky.social
Palestine - Gaza 🇵🇸
Enable it with:

Command Line: -Xmulti-dollar-interpolation

Gradle:

kotlin {
compilerOptions {
freeCompilerArgs.add("-Xmulti-dollar-interpolation")
}
}
December 20, 2024 at 2:58 PM
It’s useful for simple checks
December 18, 2024 at 10:48 AM
The new guard conditions let you add extra checks directly within the when statement, making the code cleaner. Before, you had to nest an if inside the when block.
December 14, 2024 at 1:51 PM