When I write Rx i often make two properties. A pri...
# language-proposals
b
When I write Rx i often make two properties. A private one with a specific interface, then a public one with a more general interface.
Copy code
private val _events: ReplaySubject<Thing>
val events: Observable<Thing>
    get = _events
Has there been any consideration about adding syntax like this as a shorthand?
Copy code
private val events: ReplaySubject<Thing>
    public get(): Observable
💯 9
5
l
Would be useful for `LiveData`/`MutableLiveData`, `List`/`MutableList` and more.
👍 1
k
Maybe we should get a KEEP going
5
l
Yes, we should definitely!