What you should be doing is creating an abstract SandwichMaker class that extends woman, then subclass it with different types of sandwichmakers, NakedSandwichMaker, ClothedSandwichMaker. Similarly, women are an extremely common occurrence so you may wish to ease woman creation for other programmers with a WomanFactory.
If you'll excuse me gentleman, I'm off to join the Enterprise
Name:
Anonymous2009-09-04 12:58
>>10
What you should be doing is creating an abstract Matter Assembler class that extends Matter, then subclass it with different types of matter assemblers, RawMatterAssembler, AntiMatterAssembler. You may also wish to ease Matter Assembler creation for other programmers with a MatterAssemblerFactory.