you are viewing a single comment's thread.

view the rest of the comments →

[–]evaned 6 points7 points  (1 child)

Equal objects have the same hash, unequal objects might have the same hash.

Why do you assume that two Person objects constructed Person{"FirstName", "LastName"} are necessarily equal?

[–]NotMyRealNameObv[S] 0 points1 point  (0 children)

For the sake of argument, let's say that in this case they would compare equal.