Nathan,

I thought the best practices for variable naming was:

instance.foo    Private data shared that needs to stay set for the life of
the object
var.foo                 Method-specific temporary variables required only during a 
single
call of that method
this.foo                Publicly available data, which is discouraged.  Can someone
provide case when use of THIS is recommended?

I do not understand returning "THIS" from the init?  What purpose does this
serve?

Andy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Nathan Dintenfass
Sent: Monday, March 15, 2004 10:38 PM
To: [EMAIL PROTECTED]
Subject: [CFCDev] RFC, CFC Best Practices


I've noticed that many of the best practices talked about on this list are
not as widely known as I would have thought.  What's worse, most of the
basic best practices related to CFCs are not well documented or are
documented in disparate places.

I'm trying to capture a concise list of CFC best practices that everyone
coding CFCs should be aware of (if not follow).

Perhaps some of y'all have comments/additions/criticisms, which I'd welcome:

http://www.dintenfass.com/cfcbestpractices/

----------------------------------------------------------
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
www.mail-archive.com/[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 www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to