2 ms·
I think Python got this right, where "x is y" is identity (not often used but still concise) and "x == y" is value equality (a method you can override).
by erik_seaberg 3y ago
I think Python got this right, where "x is y" is identity (not often used but still concise) and "x == y" is value equality (a method you can override).