|
|
|
|
|
by rbonvall
3030 days ago
|
|
I'm sure he means `val` as in Scala, where it is used to define a name that cannot be rebound: val x = 1
var y = 2
x = 3 // compile error
y = 4 // ok
It makes it easier to read code since you don't have to keep track of changes in your head. |
|