|
|
|
|
|
by jb1991
3131 days ago
|
|
Immutable programming with proper immutable data structures (i.e. persistent) is very different than immutable programming in a language with lots of constructs for mutation. You can throw "const" on things but that isn't really the same kind of immutable programming that exists in Clojure. Because immutable programming is not just about data not changing, it's about the transformations you can do on that data without concern for the costs that would arise if you did those same transformations in a language without immutable data structures. |
|