News for hackers. Stuff that matters.
Re:Weird Python Integers by LgWoodenBadger on Friday August 25, 2017 @09:54AM (#15098399)
It's a technical/pedantic point, but

a == b is an value-comparison of the identity "value" (in Java it's the memory reference).

Or in other words, how do I know two references are equal (identity equal) without comparing the values of the references?

Logical equality devolves to the same thing at the end.

There are no comments on this comment yet.