which is more idiomatic? using `val mutableList: M...
# getting-started
v
which is more idiomatic? using
val mutableList: MutableList<Any>
or
var list: List<Any>
? I like to use the second one, 'cause I think it'll be safer sometime with multiple threads and etc - but I'm not sure...