4 ms·
I am little bit confused. Why do you expect immutability to solve all your problems? Immutability is a tool. Like every tool, it has its limits. Its benefits a
by lmilcin 5y ago
I am little bit confused. Why do you expect immutability to solve all your problems?
Immutability is a tool. Like every tool, it has its limits. Its benefits are finite. Expecting it to solve all problems is silly -- there does not exist a single technique that can solve all problems in every circumstances.
Rather than looking for a silver bullet it is better to study various techniques, their pros, cons and applicability and build varied repertoire of solutions you know well enough to be able to predict the results and achieve high chance of success.
Don't discount techniques just because they are old and have problems. If something was popular in the past it is likely it has some merit to it -- try to understand it rather than dismiss it because it is not new and shiny.
- hypertele-Xii 5y ago> there does not exist a single technique that can solve all problems in every circumstances. The Universal Algorithm. Wouldn't that be something.
- zmmmmm 5y ago> Why do you expect immutability to solve all your problems? Immutability (and functional programming more generally) are often sold as solving issues related to state management. It's not unreasonable for someone to write about where the limits are to that. Especially when many of those limits overlap closely to the traditional types of problems we see in imperative / mutable state systems.