cedric
02/26/2018, 4:02 AMval
is not what C++' const
isRuckus
02/26/2018, 4:19 AMval
. Kotlin isn't a struct language.cedric
02/26/2018, 4:21 AMval
gives you reference immutability, const
gives you value immutability (which is too strict and not that useful in my experience)