State and Flyweight Patterns Kenneth M. Anderson University of Colorado, Boulder