This basically means that each small function should not save some state outside itself. Try to limit the use of global variables as much as possible and think of each function as the following process:
- Data arrives.
- Perform some operations on the data.
- Return results.
This way we can easily test each function independently, without worrying about the effect it has on the global state of the program.