Monthly Archives: January 2012

Using Factories

Factories are neat, because they allow you to set common properties for objects before you create the object. Plus, all the objects coming out of the factory will have those same settings. For instance, take the follow factory: class Item{ … Continue reading

Posted in Programming | Leave a comment