3 ms·
There are, but they all have at their core an idea of an object which has identity, which values don't have. You can easily model objects in value languages, bu
by KayEss 9y ago
There are, but they all have at their core an idea of an object which has identity, which values don't have. You can easily model objects in value languages, but sometimes it isn't so easy to do the other way around (like Java's strings -- Smalltalk had similar problems).
- pjmlp 9y ago> There are, but they all have at their core an idea of an object which has identity, which values don't have. Not at all, objects need to be explicitly allocated on heap, otherwise they are value based. I took care not to list any language that only allows objects as references.
- KayEss 9y agoArgh, I misread what you wrote. It's very late here now :)