AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of Immutable Data Structures in Programming
immutable data structures are a little bit of a difficult concept for many people to get their head around. It looks to many people as if you've created an entirely new thing whenever you try to make a change. Instead, we end up with a new structure, which mostly borrows from the memory of the previous structure with only minor changes. And this gives us a lot of speed in the update. But it gives us the safety that we're expecting when we're in a functional programming language.