Hacker News new | ask | show | jobs
by kaba0 1466 days 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.