you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago

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.

  • source
  • parent