State is the attribute values of a thing at a given moment.
Code is easy,
State is hard
- File: if a line was added to a file, the file has a new state
- Variable: if a variable has a new value, the variable has a new state
- A on/off button has two states: