3 ms·
Come on. How often do you really need an equals method in your classes? It's not a big deal. (No, I'm not one of those people who insist on writing equals/hashc
by axod 17y ago
Come on. How often do you really need an equals method in your classes? It's not a big deal. (No, I'm not one of those people who insist on writing equals/hashcode/toString on everything even when it's not being used).
I wonder why I try to bring sanity to these sorts of discussions also :/
- jrockway 17y agoThe example is an example. For "not equals" you might as well just write not, then equals. But amazingly, sometimes code more complicated than that needs to be reused I wonder why I try to bring sanity to these sorts of discussions also :/ When did you do that? You seem to bring a lot of emotion, very few technical arguments, and a lot of words like "fashion".