this post was submitted on 20 Oct 2025
146 points (96.2% liked)

Programmer Humor

27214 readers
1018 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] anton@lemmy.blahaj.zone 1 points 2 weeks 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.