valhalla-dev Digest, Vol 7, Issue 24

Vitaly Davidovich vitalyd at gmail.com
Fri Jan 9 17:21:17 UTC 2015


Yes sorry, this was meant for Brian.

Sent from my phone
On Jan 9, 2015 12:19 PM, "Simon Ochsenreither" <simon at ochsenreither.de>
wrote:

> > Honestly, it's going to be terrible if people can't provide their own
> > equals/hashCode for value types.  What's the rationale for that?
> >
> > Also, special casing == for just value types doesn't seem appealing as
> > it muddies the water and when I see == in code I have to go check
> > whether it's value types or not to figure out what's going to happen.
>
> Neither of these ideas are part of my suggestion made earlier.
>



More information about the valhalla-dev mailing list