The agony of legacy code - not for weak stomachs
ColdFusionI have spent the last 10 hours of my day working over some legacy code that was originally built about 7 years ago by two PowerBuilder developers who where tasked with taking their first shot at ColdFusion on a mortgage loan application underwriting system.
Below is a small sample of the 2,875 line pile of horse crap that I have been wallowing through all day. There were over 100 queries in this single template. There was at least one example of the same row being queried at least 10 times, each time looking for some specific column.
I realize I have become kind of spoiled working in nice solid OO-applications in sound frameworks, but this is like a bizarro world.
If you are brave, take a look at this, and take pride in the fact that your code doesn't look like this on your worst day.
Enjoy!
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>
@+*x^')>






Loading....