AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Object Oriented Programming Languages
In object oriented programming languages, state and identity are merged together. In a persistent data structure, the entity remains the same over time but the value of something changes. So in other words, you would store values and not identities. You can remember values quite easily and you can form computations on them without worry. The old version is never destroyed nor degraded by new versions because there are schemes for doing persistence that don't degrade over time.