1 post tagged “items”.
August 7, 2010
In essence, factory functions are class methods that *manufacture* items or other properties during the instantiation of the class. This article explains pros and cons of factory function and how to use them correctly.