|
dmitry.ryabtsev@mongodb.com we would prefer not to take on the burden of maintaining equals/hashCode methods in all of our classes. It's a surprisingly large maintenance burden, given:
- there are numerous (over a hundred) classes that could potentially require these additions
- they have to be hand-written in Java (though the IDE will auto-generate them
- it's easy to forget to update them when a new field is added, and I'm not aware of a linter that will catch mistakes.
Happy to leave it in the backlog to see if it collects votes, but not inclined to take it on right now.
|