Mixing up value types and reference types

Simon Ochsenreither simon at ochsenreither.de
Wed Oct 1 22:57:32 UTC 2014


Isn't the potential of confusion you have demonstrated more or less a
consequence of C#'s decision to allow mutable value types?
 
I'm not strongly claiming that immutable value types don't have this issue
(although I would tend to assume it, because I can't remember hitting such an
issue in Scala since the introduction of value types).


More information about the valhalla-dev mailing list