|
|
|
|
|
by esrauch
152 days ago
|
|
I think you are confused by terminology here and not by behavior, "immutable variable" is a normal terminology in all languages and could be says to be distinct from constants. In Rust if you define with "let x = 1;" it's an immutable variable, and same with Kotlin "val x = 1;" |
|
Neither "let" nor "val[ue]" implies constancy or vacillation in themselves without further context.