3 ms·
> why would Go even allow you to mutate the temporary variable? Because it's a variable. That's what you do with variables, you mutate them to hold different v
by Joker_vD 3y ago
> why would Go even allow you to mutate the temporary variable?
Because it's a variable. That's what you do with variables, you mutate them to hold different values. There are no "named, non-constant holders for values that you can't mutate directly" in Go.