>>>>
factory = createobject(m.lcSubtype + "_" m.lcFactoryType)
>>>>
>>>So your
factory depends on a naming convention?
>>
>>I try to keep most approaches KISS and DRY ;-)
>>
>>For me that often resolves to a Pareto usage of naming conventions and reuse of field names - as long as doing that is possible without writing a rulebook for the exceptions cropping up in the far end of usage, which IMO makes such practice cumbersome sometimes in Java - the benefits of KISS approach are lost on the few special cases.
>
>Exception make rule useless.
>
>Let's say German grammar, where the exception is the rule. Made to bore pupils to death.
>;)
I can confirm that sentence about German grammar. Although it's nearly 50 years since I learned German, I still remember many of the rules. Like "Aus, bei, mit, nach, von und zu". :-)