Map/Reduce patterns
a template program with blanks to fill in for a particular application. 
a list of constraints as to what can go in the blanks. 
In software engineering, a pattern is a well-documented approach to a problem that includes: 
create a self-initializing instance. 
use the instance instead of calling the constructor.
so you only create one factory. 
When you make a factory, 
Example: single-instance pattern
The blank: the thing you want to create. 
What can fill the blank: any static object that is not stateful once created. 
Wednesday, March 16, 2011
3:54 PM