38
lxmcf
6y

You would think for a company as big as Google they would be able to write good fucking documentation but nope!

Fuck me it's more spaghetti than my code!

Comments
  • 2
    @irene "move fast and break things", amirite? That's definitely gonna make for an excellent quality product that'll stick around for more than a few years at best 🤪
  • 4
    Oh boy, the time I spent debugging GCP client libs. Sometimes those libs also seem very overcomplicated of what they are trying to solve
  • 2
    @EngineerCoding Exactly. Few moths ago I had to use Google's PHP library to fetch data from Analytics accout. Instead of simple query string I had to create object for each simple option, then set those objects into another "querry" object and after all of that I could send it to the API. For really simple thing which could be written on one line, I had to write like 20 lines with two helper methods.

    Oh, and also their API doesn't support fetching two different sets of data with two different time intervals. You have to either request them with the same interval, or send two standalone calls. And also function for getting visitor numbers for each day didn't return days with 0 visitors, so I had to fill them in manually in my code using foreaches. Just that one simple query together with parsing took 2 seconds to process.
  • 0
    Same for Microsoft. Just look at the code for docFX. Holy fuck ...
Add Comment