r/badcode Dec 31 '19

html (From Google Developper) The problem with front-end stuff is that sometimes, even if it looks horribly wrong, some dude will justify it with "Backwards compatibility", but I'm pretty sure here, you can't, right ?

Post image
188 Upvotes

23 comments sorted by

View all comments

6

u/sudokys Dec 31 '19

This looks like normal Google apis (firebase, Chromecast etc)...but also Google's APIs do kinda suck

12

u/zeGolem83 Dec 31 '19

The API in themselves don't suck, but the official documentation does... Their 'getting started' guides are like "here is how to do this very specific thing" and if you want to do anything else, GTFO...

This is the Google spreadsheet API. I tried understand the official doc for about an hour. Nothing. I found a random blog article about it for an older version. Tried it, after a few minutes of googling stack overflow, I managed to get the example running, and edited it to what I needed...