AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of Immutability in Scala
Some people say that immusability is bad because the world is mutable, and it has to be reflected in the code. I had a big aha moment when I was reading the red book, you know, functional programming in Scala. And for me, immutability creates an ability to understand code execution in a linear way. It's just like a simpler example of what Rock does.