Project BBOM, Part 3?

After the migration of my first project, I have become the owner of the mess, awesome. I’m trying to convince the manager to let me scrap it and rewrite it.

I’m currently fixing a bug that has been there for…ever. Here’s what I run into trying to find the source of the bug.

[ASP Page] 805 lines; last updated in 2003! lol.

[lines 105-112]
If (isempty(postavailable)) then
     postavailable = “true”
End if

If (postavailable = “true”) then
     postavailable = true
Else
     postavailable = false
End If

[randomly spread through the code, more than 50 times]
If (postavailable) then
     //set variable to a value, each time a different variable…
Else
     //set a variable to ” “
End If

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve this: Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.