5 ms·
It is not like this in Java either if the components are all immutable as well. It will be shallowly immutable, but applying it recursively will make it totall
by kaba0 4y ago
It is not like this in Java either if the components are all immutable as well.
It will be shallowly immutable, but applying it recursively will make it totally immutable. The reason I say that is that in practice it is not that different than FP languages, they just differ in the ratio of FP data structures.