When developing your applications, use
SubAssembly
subclasses, not "factory" methods.
The resulting code is much easier to read and test.
It's worth noting that the Object
constructors are "factories", so there isn't much reason to build
frameworks to duplicate what a constructor already does. Of course there
are exceptional cases in which you don't have the option to use a
SubAssembly
, but in practice they are
rare.
Copyright © 2007-2012 Concurrent, Inc. All Rights Reserved.