Thread:Talk:Requests for comment/Unit testing/globals/reply

The problem with global state objects is that people can (and do) change them on a whim. By incapsulating them in accessors, you keep that sort of thing from happening and behavior is much more testable.