> It is in fact a very common approach in Java. E.g. I used it once in
> combination with the factory pattern. I pulled the class names from a
> configuration file and dynamically instantiated them. Very handy to avoid
> changing your factory code every time a class is added.

A downside, of course, is that you lose compile time checking. This may or
may not be a big deal, but sometimes the extra few lines of code are well
worth the piece of mind.

-ben

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to