3 ms·
How is that any different to some opaque method call? By the same logic `a.equals(b)` might be doing something funky under the hood
by delta64 4y ago
How is that any different to some opaque method call? By the same logic `a.equals(b)` might be doing something funky under the hood
- AnimalMuppet 4y agoTrue. But people think about it a bit differently. People don't always expect == to be a function call.
- delta64 4y agoSure, but I think '== might be a function call' is a lot less confusing than '== sometimes compares for equal value and sometimes doesn't'