99.99% of the time you want to compare by value, which is why languages defaulting to comparing by reference is a stupid default.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
99.99% of the time you want to compare by value, which is why languages defaulting to comparing by reference is a stupid default.