Do we really never need to implement equals() and hashCode() in Java 16 records?
It seems “everyone knows” that “with records you don’t have to write
equals()
and hashCode()
”. What if I told you this might not be always true…?