I've been using a similar technique to the one you listed below, but I've
been using the variable name "private" instead of "instance". Do you foresee
a time when using the variable name "private" might cause me a problem?
(i.e. Macromedia would make "private" a scope or something?)
I can't say whether 'private' would ever become a reserved word in CFML, however it *is* a reserved word in Java and C++ (and other OO languages) and non-public instance variables in CFCs are not *private* they are effectively protected (in Java terms...) so calling your scope 'private' is going to be pretty confusing.
This is also why I don't like to see methods called 'new()' in CFCs - 'init()' matches the way CF interacts with Java and doesn't reuse a Java reserved word to do so...
Sean A Corfield -- http://www.corfield.org/blog/
"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 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).
