State - Mutable
Table of Contents
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
Articles Related
- Event (Timed Measure|Action)
- Data Type - (Primitive|Native|Built-in)
- Python - List
- React - Element
- Python - (Dictionary|Map)
- IO - CRUD (Create/Read/Update/Delete) - basic functions of persistent storage
- Python - Tuple
- Object - (Mutator|Setter|Set) method
- Data Type - Boxing (Autoboxing|Autowrapping) and Primitive Wrapper
- State - Immutable
- More ...
Recommended Pages
