Re:C++ the Good Parts (2014)
by int_19h on Thursday October 01, 2020 @06:24PM
(#24656808)
IIRC, Haskell doesn't have the notion of object identity. It wouldn't make sense in an immutable language, anyway, because identity only matters if object state can change - otherwise any two objects with identical state are substitutable. But anyway, I would argue that this is the crucial difference that sets apart "objects" and "values with syntactic sugar for function calls".
[ Parent
| on HN ]
There are no comments on this comment yet.