logoalt Hacker News

benmmurphytoday at 11:02 AM0 repliesview on HN

`==` is reference identity in java and that is the problem. so you can't treat an arbitrary object as a value type because somewhere in the program `==` might be called on it.