Re:Lies we tell ourselves to keep using Golang
by josephcsible on Friday April 29, 2022 @10:52AM
(#31205940)
Usually you do want to compare by value, so it should get the obvious syntax. When you want to compare by reference, you should write if(&a == &b) or ReferenceEquals(a, b) or something.
[ Parent
| on HN ]
There are no comments on this comment yet.