Understanding State
Let’s talk about state, shall we? State is the collective properties of the system from one point in time. Think of it effectively as a snapshot of a system. State in computer science is actually a lot like state in physics, so let’s start with something that’s a bit easier to understand. We’re going to examine a physical system: A ball dropping from my hand to the ground one meter (1m) below.