4 ms·
Equality for objects means reference equality. That's precisely the problem with object-oriented languages: you can't manipulate the values that you really want
by catnaroek 10y ago
Equality for objects means reference equality. That's precisely the problem with object-oriented languages: you can't manipulate the values that you really want, you have to manipulate objects whose state is hopefully the value you want.