Hi all 👋 ,
Should I use Kotlin immutable collections only at the UI layers for Jetpack Composables or I can use them all they way in domain & data layers?
What is the recommended approach here?
https://github.com/Kotlin/kotlinx.collections.immutable
z
Zach Klippenstein (he/him) [MOD]
05/27/2024, 7:33 PM
Entirely up to you
Zach Klippenstein (he/him) [MOD]
05/27/2024, 7:35 PM
If your architecture uses immutable types elsewhere, these collections will probably be more efficient anyway