Hacker News new | past | comments | ask | show | jobs | submit login

I think Python make the difference clear, with == vs "is".



Ruby provides object_id for the same purpose. Comparing those for equality provides the "is_" semantics.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: