On 1/14/06, Cameron Childress <[EMAIL PROTECTED]> wrote:
> This would also be a good case for a Memento?

Not really. It would tie two implementation details very tightly
together: the names of arguments to init() for contact and the names
of the elements on the memento of contact value objects.

If you need to initialize an object from another instance of itself,
write a clone() method and use getters and setters so you're not
dependent on implementation details.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

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


Reply via email to