Quick question.  Sorry if it has already been addressed.  In Hals book
discovering CFCs he makes note of the encapsulation problem with the this
scope.  He notes a work around, and also notes the work around's short
comings.  However, there is no mention of a private scope?  Is that
something new....or have I missed the boat all together? BRB - off to finish
Hal's book =) Its a good read.

Thanks, I apologize if this (pun intended) has been a rehash.

Take care,

Justin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 3:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] this.scope vs private.scope 


I agree with you, Sean. In the broader OO community, the use of
getters/setters is standard and getting into that habit seems to me very
good advice.

Hal

Original Message:
-----------------
From: Sean A Corfield [EMAIL PROTECTED]
Date: Sun, 30 Mar 2003 09:24:12 -0800
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] this.scope vs private.scope 

My personal view is that the goal should be encapsulated data - using 
set/get and non-public data. During the transition, as you start to use 
CFCs to add more structure to your applications and get used to the way 
they work, using "this" scope is simpler and may help you get up to 
speed with CFCs faster.

Sean A Corfield -- http://www.corfield.org/blog/



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


----------------------------------------------------------
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).
----------------------------------------------------------
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).

Reply via email to