About
A state who is mutable can be changed.
Mutation happens with mutator method:
- in CRUD term, they are known as Create, Update, Delete
- at a object level, they are known as the mutator method (ie set, add, remove)
Immutability is more powerful because it's a good way to get rid of state concurrency problem