Interesting responses.

IMHO, some of this is preference (after all, CF does accept it as valid syntax, 
unfortunately).  What really matters is that some people are able to justify 
their position and understand the other side of the position, whereas some 
people don't even realize what scoping even is.

----- Original Message -----
From: Aaron Rouse <[EMAIL PROTECTED]>
Date: Monday, May 9, 2005 2:02 pm
Subject: Re: What makes a programmer look low level

> I tend to scope these, it is not out of worry of me not knowing 
> what I am 
> referencing or even of someone else coming in and not knowing. I 
> think it is 
> more of just out of habbit and it just gets typed. I do know at 
> one time I 
> came across a prior developers work who would be in a <cfoutput 
> query="myquery"> and they would start referencing things out of 
> other scopes 
> but they never did prefix any variables. It added some time to 
> debuging a 
> problem when their query was just SELECT * FROM MYTABLE.
> A lot of the things I do in regards to scoping are usually direct 
> results 
> of having to debug someone elses code where no scoping was done at 
> all. This 
> made me over time realize I am probably better off typing things 
> out more 
> times than not, just so it avoids confusion when never knowing the 
> skill 
> level or mindset of whoever it is coming in after me.
> 
> On 5/9/05, Adam Haskell <[EMAIL PROTECTED]> wrote: 
> > 
> > So me scoping myQuery.varname is essential in a <cfoutput
> > query="myQuery"> block? I disagree but I know people think
> > differently... I do agree with the url. or form. or cookie . 
> though in
> > many cases it could be coming from different places so scoping those
> > are good. If you understand your current context you should not have
> > to scope...unless you are worried about understandability....
> > 
> > Adam H
> > 
> >
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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

Reply via email to