2 ms·
> 5. Reference semantics may result in unexpected sharing > This has more to do with reference semantics than objects. I would argue that these are intertwine
by seanmcdirmid 10y ago
> 5. Reference semantics may result in unexpected sharing
> This has more to do with reference semantics than objects.
I would argue that these are intertwined. You can't really have objects without aliased identity and therefore reference semantics. Otherwise, you are in "land of the anonymous values" where FP techniques are much more useful, while objects clearly have names. (I'm an OOP fan BTW, but also heavily use FP.)