4
Kyu96
5y

I was tasked to parse some complex output oft another application so that it can be displayed nicely in our Frontend. The output had lots of inconsistencies and exceptions - I spent the entire fucking day to wrote the craziest regex I have ever written in my entire life. With a few minor issues it worked pretty well. I was happy... Then a colleague came into my room, peeked into my screen..
Him: "You are aware you can just specify a --json flag to get json output?"
Me: "..."

*long silence*
Me: 😵🔨

Please end my life.

Comments
  • 1
    I spent part of a day designing a new class (probably needs done anyway) to replace an old POS class. After hours of reviewing how the old class worked I was able to solve my issue by removing parameters from a specific function. So I shelved the new class for now. So yeah, when you find that the immediate problem is just a few clicks away it can be frustrating...
Add Comment