07-29-2008, 05:13 PM
|
#1 (permalink)
|
|
Moderator
Join Date: Sep 2007
Posts: 684
Thanks: 15
|
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.
__________________
There are two ways to write bug-free code, only the third one works.
|
|
|
|