I saw a SQL table once with a column set to (nvarchar, 255).  The only entry
in the column for a particular record was either the letter "Y" or "N".
This was to specify if the construction equipment had air conditioning or
not.  Needless to say that was the first thing I changed...


-----Original Message-----
From: Jennifer Larkin [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 22, 2005 11:14 AM
To: CF-Talk
Subject: Re: Working with OPC (Other People's Code)

I can top that with a 
<cfset var1 = var1 + 0>

It will make my "things not to do in CF" blog column eventually.
That's not the best part of the snippet of code in waiting.

But yeah, feeling your pain. Keep in mind that ergonomic wrist rest
pads that span the width of the keyboard also make a good head-bashing
target. Does less damage that way. Other people's code causes enough
mental pain; there's no need to add physical pain to it. :)

On 7/22/05, James Holmes <[EMAIL PROTECTED]> wrote:
> Wow. I'd like to know what the crackhead thought this would acheive:
> 
> <CFSET EVENTURL = EVENTURL>
> 
> On 7/22/05, Rick Root <[EMAIL PROTECTED]> wrote:
> 
> > For example, here is a snippet of his code that exemplifies that type of
> > programming that he did:
> >
> > ------------------------------------------------------------
> > <CFIF #FindNoCase("http://";, EVENTURL)# OR
> >         #FindNoCase("https://";, EVENTURL)#>
> > <CFELSEIF #Trim(EVENTURL)# IS "">
> >         <CFSET EVENTURL = EVENTURL>
> > <CFELSE>
> >         <CFSET EVENTURL = "http://"; & EVENTURL>
> > </CFIF>
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212612
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to