64

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

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

    hate me if you want
  • 4
    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)
  • 1
    @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.
  • 2
    My code is filled with these little things, half of them are literally impossible to trigger... Yet I have triggered them all
  • 1
    I have heaps of those in my code, even in my old scratch projects 😂
Add Comment