4 ms·
I'm guessing here: With const there's always the disccusion about consts not being constant, e.g. when referencing an array or object (reference itself is const
by vnglst 9y ago
I'm guessing here: With const there's always the disccusion about consts not being constant, e.g. when referencing an array or object (reference itself is constant). With "val" you don't have that confusion?
- mattnewton 9y agoBut why not let? Or any word that doesn't start with "va"?
- meddlepal 9y agoI've been writing Kotlin for a year and a half and it has yet to be an issue.