Sean,

In the Macromedia Press/Ben Forta Advanced ColdFusion MX book, he has a fair
amount of text and examples related to the usage of the THIS scope (chapter
17).  I was just curious what the rationale was back then when that was
written (my copy is copyright 2003) to show examples related to THIS, but
almost no examples of what is commonly known today to be best practice
(variables scope, et al).  Was that just plain 'wrong' in the book, was it
wishful thinking, or has CFMX changed to where that was right then but wrong
now?  Just curious, since given the author list its tantamount to biblical
doctrine.  Or something.

Kevin


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield
> Sent: Sunday, November 14, 2004 7:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: [CFCDev] concerning this / variables scope in cfc
> 
> 
> On Sun, 14 Nov 2004 18:17:46 +0100, [EMAIL PROTECTED] 
> <[EMAIL PROTECTED]> wrote:
> > Is there indeed a case when to use the this-scope
> > anyway?
> 
> Some people will say "no, never" - because a lot of people 
> think that public data is evil and should never be used.
> 
> I never use "this" scope personally. I can't think of a 
> single case where using "this" scope would be best practice.
> -- 
> Sean A Corfield -- http://www.corfield.org/
> Team Fusebox -- http://www.fusebox.org/
> Breeze Me! -- http://www.corfield.org/breezeme
> Got Gmail? -- I have 1 invite
> 
> "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' 
> 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 
> [EMAIL PROTECTED]
> 


----------------------------------------------------------
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 
[EMAIL PROTECTED]

Reply via email to