I found I write code like this very often, a priva...
# announcements
m
I found I write code like this very often, a private mutable object and a public facing immutable api. is anyway to do it more elegantly in Kotlin? does it worth as a syntax sugar?
👍 1
k
Nothing yet, there's even an example in the docs: https://kotlinlang.org/docs/reference/properties.html#backing-properties
m
thx