DEV Community

Discussion on: Mutation is ok

Collapse
 
miketalbot profile image
Mike Talbot ⭐

Nice syntax and a feeling of "doing the right thing" lead to very inefficient code when it comes to immutability. This is a very nice article - I took a look at the costs of immutability in tight loops and code myself (which is another lens on this subject):