A piece of data is immutable if it cannot be modified after it has been created.
This is some important consequences:
- It reduces [side effects][side-effects] in your code.
- To modify a piece of data, you have to create a copy of that data.
Immutable data is a common concept in functional programming languages.