Is there ever an instance when you do want to compare object identity instead of “equal”-ness?
Maybe if you have to check if the object is one you already hold a lock for or account for some similar consequence of questionable architecture.
Is there ever an instance when you do want to compare object identity instead of “equal”-ness?
Maybe if you have to check if the object is one you already hold a lock for or account for some similar consequence of questionable architecture.