4 ms·
I don't understand the negativity in some of the comments. I thought this was an excellent article. Two main takeaways for me: - While immutability can preven
by cloogshicer 5y ago
I don't understand the negativity in some of the comments. I thought this was an excellent article.
Two main takeaways for me:
- While immutability can prevent some state-related bugs, it will not prevent them if the state changes are not commutative
- I especially liked this sentence:
> This is actually very similar to the problem with imperative languages – since everything runs sequentially, it’s hard to see what parts of the code have a true sequential dependency and which parts do not.