View Single Post
Old 07-29-2008, 04:13 PM   #1 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default This is what I have to put up with at work

At work, we are making changes to a really poorly made system. But today, my co-worker found a block of code that exceeds all others in stupidity:
Code:
If oContext.SiteID <> "" And 1=0 Then
                sSQL = "badly written query"
            Else
                sSQL = "badly written query" 
            End If
And later in the script
Code:
If bPrioritizeMine And (CStr(rsTemp.Filter)=sAgentListingFilter) And (1=0) Then
I know theres being prepared for the future, but banking on civil war on the number line is a whole other thing.
__________________

Village Idiot is offline  
Reply With Quote