Advantages of Functional Programming
typeable.io
typeable.io
In other words, it's useless? Some change must happen, there can not be a result if nothing changes. We can say that a result of a pure function is always a new value.
Without extremely complicated performance optimizations, writing such code is very inefficient.
Besides, instead of trying to find a way around the limitations of current architectures (poor parallelism), we should fix the architectures.