Re:About V, the language Volt is written in
by IshKebab on Thursday February 07, 2019 @07:44AM
(#19104849)
I think it would be a bit weird if fields of structs can be modified, but bare values can't. Kind of feels like the inconsistency between `Integer` and `int` in Java.
So I would say that having to explicitly mark function parameters as mutable (like in Rust) is a better approach.
So I would say that having to explicitly mark function parameters as mutable (like in Rust) is a better approach.