On 10/12/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
I would say a best-practice would be to "always" use getters and
setters, even in your CFC. The only time you "should" access the
instance variables, directly, would be when you are actually setting or
getting the variables from a client.
This leads to tighter encapsulation since you only have to write the
get/set logic once.
----------------------------------------------------------
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).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
