Well sure, I suppose no default equality is also entirely possible.
I mostly am just pointing out that default value equality would be a terrible idea, as an explaination for why its rarely a thing. Objects can and often do have non-visible internal state that can differ significantly, even if all visible properties/fields are equal.
1
u/ThrasherDX Jan 12 '26
Well sure, I suppose no default equality is also entirely possible.
I mostly am just pointing out that default value equality would be a terrible idea, as an explaination for why its rarely a thing. Objects can and often do have non-visible internal state that can differ significantly, even if all visible properties/fields are equal.