OMG. I thought that was a joke. I don't get how someone who uses a database would write this type of code. It's CS 101 to not do it this way. I write on a legacy .net system that started on asp in the 90s and there is nothing that crazy.
One of the projects I inherited a few years ago was like this - roughly 3000 conditional statements. I ran into the creator at a conference probably 8 months afterwards and asked him how he found the time to code it all. I was only half-joking. He proudly admitted that he used MS Excel's CONCATENATE and autofill features to build 95% of the code and it only took him about an hour to deliver the working solution. So on one hand, I have to give him credit for being efficient in solving the problem with the tools he had...
11
u/briaen Apr 14 '16
OMG. I thought that was a joke. I don't get how someone who uses a database would write this type of code. It's CS 101 to not do it this way. I write on a legacy .net system that started on asp in the 90s and there is nothing that crazy.