(no title)
esrauch | 1 month ago
In Rust if you define with "let x = 1;" it's an immutable variable, and same with Kotlin "val x = 1;"
esrauch | 1 month ago
In Rust if you define with "let x = 1;" it's an immutable variable, and same with Kotlin "val x = 1;"
psychoslave|1 month ago
Neither "let" nor "val[ue]" implies constancy or vacillation in themselves without further context.
esrauch|1 month ago
Euler used this terminology, it's not new fangled corruption or anything. I'm not sure it makes too much sense to argue they new languages should use a different terminology than this based on a colloquial/nontechnical interpretation of the word.