what is the difference between an object's structure and its function?
The object is a state with a behavior attached to it. The closure (or function as value) is a behavior with a state attached to it.