3 ms·
This article looks pretty good: https://blog.stylingandroid.com/kotlin-mutability/ https://blog.stylingandroid.com/kotlin-mutability/ I would describe the diff
by bluejekyll 7y ago
This article looks pretty good: https://blog.stylingandroid.com/kotlin-mutability/ https://blog.stylingandroid.com/kotlin-mutability/
I would describe the difference between Rust and Kotlin as: Rust offers control over interior mutability and guarantees that there is only ever one mutable reference at a time—Kotlin offers exterior mutability control, not all that dissimilar from final in Java or const in C/C++, but it is better.