Join Slack
Powered by
My first thought is obviously, remove `private`. ...
# getting-started
c
Chris Cordero
04/12/2020, 10:33 PM
My first thought is obviously, remove
private
. That gives outer classes access, but since it's a
MutableMap
, they're able to mutate it as much as they want, so long as they don't overwrite/replace the reference entirely (thereby making
val
angry)
Open in Slack
Previous
Next