Сравнение TopLevel и Companion констант с точки зрения генерируемого кода
#kotlin #contstant #performance
https://proandroiddev.com/top-level-constants-vs-companion-enclosed-constants-using-kotlin-in-android-cbb067732428
#kotlin #contstant #performance
https://proandroiddev.com/top-level-constants-vs-companion-enclosed-constants-using-kotlin-in-android-cbb067732428
Medium
Kotlin Constants in Android: Top-level vs. Companion-enclosed
Does the choice between the two affect performance, APK size, or memory usage? Let’s break it down by diving into the bytecode.
👍11
Context parameters релизнуты в Beta статусе в Kotlin 2.2.0
Миграция на них с текущих context receivers крайне рекомендуется, т.к. context receivers будут в дальнейшем удалены
#kotlin #contextreceivers #contextparameters
https://blog.jetbrains.com/kotlin/2025/04/update-on-context-parameters/
Миграция на них с текущих context receivers крайне рекомендуется, т.к. context receivers будут в дальнейшем удалены
#kotlin #contextreceivers #contextparameters
https://blog.jetbrains.com/kotlin/2025/04/update-on-context-parameters/
The JetBrains Blog
Update on Context Parameters | The Kotlin Blog
Context parameters will be replacing context receivers in Kotlin, with version 2.2.0 featuring them as Beta. We are committed to providing an easy migration between both features, including dedicated compiler and IntelliJ IDEA support.
👍7🥱5😱1