11
thecode
6y

My eyes hurt everytime our backend guy gives me a new REST API to implement in our app and always the formatting of the json is something like this. Like why can't you just fucking format it properly so I won't have to look at my code and feel disappointed for writing such ugly code. All because your lazy ass didn't care to understand the fundamentals of how json objects and arrays work !!! It's been a month since I've joined this company and I'm tired of explaining why we should use the status code for failure checking and not this stupid pass/fail status flag. I don't even remember how many times I've brought it up but everytime I get reasons like "Dude, you know what our server is never going to go down or fail so it doesn't even matter". And at that point I feel like I shouldn't even argue with him anymore.

Comments
  • 0
    PS : This is after I scolded him for an hour for making it so difficult for me to traverse. Prior to the scolding it looked something like this.
  • 2
    Use graphql no under fetching or over fetching
  • 2
    Definitely agree with the status code. I can’t stand when I get an error message back from an API with a 200 status.
Add Comment