Immutable by default
A let binding is immutable; a var is mutable. You opt in to change.
milo
fn main(): i32 {
let name = "Milo" // immutable
var count = 0 // mutable
count = count + 3
print($"hello from {name}, count = {count}")
return 0
}
hello from Milo, count = 3
Takeaway You always know which bindings can change under you: only the ones marked var.