Refactoring my old code, ayy lmao the cringe...

  • 22
  • 3
    😧mind you I do enjoy when those edge cases come bite you in the ass a long time after forgetting about them.
  • 3
    I do think it's funny

    hate me if you want
  • 3
    The only problem I see is that you're translating values in SQL select instead of doing it in frontend
  • 0
    Oh hey, I did this in System Programming sometimes.
    It was like "Untreated error type, give this student a 0!" Lol
    (thing that never happened when I did that lol)
  • 0
    @hitko the problem is he should be joining against a table that has codes and descriptions but instead every time he wants to add or update these codes he will need to recreate this view or whatever it is.
  • 0
    My code is filled with these little things, half of them are literally impossible to trigger... Yet I have triggered them all
Add Comment