12

ah this fucking sucks my boss, who is also the guy developing back end for our mobile app which im developing, isnt working on the back end makes me guess the fucking json strings that hes going to send and buils the front end, then later changes the fucking json structure completely and expects my app to work without any problems, how do you teach these fucking php developers the importance and significance of data types and data structures

Comments
  • 5
    Do not blame all PHP developers son! Condemn the person for ignorance not the community.
  • 2
    Your boss should communicate and document more.
  • 0
    I rarely implement APIs without a data contract, but in cases where it's inevitable, I write a translation layer where I take what I get from the server and translate it into something that makes more sense for me. Still a pain to have the structure change, but then the changes are limited to that one area.
  • 0
    alright changing a couple of json object properties i guess there is no choice have to tolerate it but changing the whole business logic (for example previously doing 1 request to get an object now requires 2 separate requests etc) just because the query is "too complicated"
Add Comment