AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of Mutability in Programming
If the language assumes everything is immutable, then I think that's like the basic assumption that makes it possible to optimize like that. So if you want to keep that sort of clean direct style mutability for some reason, maybe for some DSL, and maybe there's no better choice. The languages, if they wanted to, could give you the programming experience of mutability without the actual mutability. And we've seen we've seen hints of that with rock. Flix has done some of that. But yeah, it's like there is a there is a convenience to mutability. It just comes with some trade off rust.