2 ms·
> All Java developers would benefit if == ignored object identity and focused on the "essence" of the object And yet, doing so is explicitly a non-goal of this
by tialaramex 2y ago
> All Java developers would benefit if == ignored object identity and focused on the "essence" of the object
And yet, doing so is explicitly a non-goal of this work, is that because it needs a migration plan nobody can stomach? Before trying Rust I would have doubted that this just doing the Right Thing was important, but now I would co-sign that in a moment. I bet I've avoided a dozen bugs per year by having the == operator do what I meant not something that was easier to implement.