Monday, July 27, 2009

Updates

Lately I've been working on some legacy code from a contractor. It's my job to update the security on this and increase performance where I can. It's taken me six weeks.

At least one person who worked on this at the contractor knew what they were doing, at least one person did not. I detect about 3 flavors of code.

Something I run into a lot is this:

If (Condition)
   Do A
   Do B
Else
   Do A
   Do C
Endif

Which is mostly harmless, but combined with all the other little irritations I've come to hate the anonymous programmer who came before me. So I will curse them with the strongest curse I know:

Anonymous Programmer, I wish that you will soon become competent, realize the error of you ways, and be forced to maintain all of your old code for the rest of your life.

2 comments: