DEV Community

Discussion on: Effective Java Tuesday! Obey the `equals` contract

Collapse
 
pedronm profile image
Pedro Moraes • Edited

First of all thanks for the article it was really good and well-done.

Sad thing it's a really forgotten workaround( at least in the DC's and dev teams i've been with) seen more in theory and papers than on practice. I've been on this 'industrial' developing getup for a while and only did it and saw it on reasearchs, personnal projects and POCs.

From my time dealing with these situations in most of the cases we simply don't do it, mostly because of my superiors who doesn't approve 'equals' neither 'toString', and our ways to deal with it are getting the precise data or info to be compared like students by their id and employers by their registers.