First of all I'd like to thank the regular contributors to this list. I've
been monitoring the discussions for the last month or two and it has been
extremely useful for someone like me who is struggling to use CFCs correctly
but who doesn't have a background in Java or OOP (I cut my teeth many years
ago on FORTRAN!).
Now for my question, which, I guess, is really one of encapsulation:
I understand that you should never set an objects properties from outside of
the object as in:
session.objUser.name = Joe
But what about retrieving the objects properties? Is
name = session.objUser.getName()
preferable to:
name = session.objUser.name
and why?
Walt
Walt Sparrow-Hood
Director, E-Commerce
GenTek, Inc.
V - 973-515-1835
M - 973-723-7910
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).