Sean,

I wouldn't use it.. But everyone has their thing. Since lots of "developers"
don't even comment their code, sometimes good developers over compensate
with overly complicated naming conventions. I feel like scoping your
variables and naming them for what values they hold prefixed and datatype.

example:

<cfscript>
    variables.bit_aflag = 1;
    variables.int_myid = 777;
</cfscript>

Just my opinion..

Regards,

Phillip





----- Original Message ----- 
From: "Sean Corfield" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, December 23, 2004 9:35 PM
Subject: Re: Prefixing local variables


> Well, as I indicated in my original response I think it's a horrible
> convention...
>
> On Thu, 23 Dec 2004 22:10:22 -0500, Michael Dinowitz
> <[EMAIL PROTECTED]> wrote:
> > The point of this is not what you or I would use. It's designed to
'force'
> > people to localize their variables. If they did what was right, then
this
> > would not be needed. As most people do not localize their vars, I'm
trying
> > to create a psychological 'reminder' for them.
> > There is a difference between the code you use locally and the code you
> > provide to others. For others you have to teach, train, and yes, even
> > manipulate to get them to do what's right. $variable is as 'loud' a
> > statement of localization that I can think of.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188730
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to