|
|
|
|
|
by KayEss
3066 days 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). |
|
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.