3 ms·
> Go, which is an imperative language, favors single assignment. Go doesn't even have final variables. Go doesn't favor single assignment in anyway. Rust does
by aikah 8y ago
> Go, which is an imperative language, favors single assignment.
Go doesn't even have final variables. Go doesn't favor single assignment in anyway. Rust does as it is harder to create a mutable variable than an immutable one.
- Animats 8y agoGo has "=" and ":=", to distinguish alteration of variables.