Re:Mutable value types are evil Sort of
by 8jy89hui on Monday November 14, 2022 @07:51PM
(#33603699)
Implicit cloning of types is evil. The first example with the mutable object is only surprising because the language decided to pass a copied struct by value instead of by reference.