44
xonya
6y

An application based on a single MySQL stored procedure that contained all the application business logic inside of it (plus a poor webapp that simply called it). The stored procedure had 97 (yes, NINETY SEVEN) parameters... and about half of them were boolean flag used for enabling/disabling another parameter. I think that Uncle Bob could follow you holding an AK-47 if he saw that. The saddest part is that the shit was written by a guy having a PhD in computer science, and he knew that was bad, but the boss asked him to do it in that way. The guy left the company before I joined it and I had to maintain that crap. Guys, the first time I saw it I thought that should be a joke. Code generated by decompilers was easier to read, maybe even Brainfuck. I tried complaining with the boss but she said that the system was wonderful and very efficient. This was one of the reasons I moved to another company after some months.

Comments
  • 6
    HOOOOLLLYYYY SHIIIIIT!!! 🤣🤣🤣🤣
    Good that you moved...
    This kind of stuff creates heart attacks and crippling depression.
  • 10
    That's the database equivalent of the frankinstein monster. The creator loves it and everyone else wants to kill it with fire and pitchforks.
  • 11
    This is my favorite wk133 so far.

    SqL iS eFfiCiEnT
Add Comment