logoalt Hacker News

gzreadtoday at 12:15 PM1 replyview on HN

You mean he could read it or he could write a parser or he could use a dependency?


Replies

sethammonstoday at 12:33 PM

Use a dependency. It was a wild pattern that still confuses me years later.

Literal interview: concurrently hit these endpoints that returns json and sum the total of values returned. Handle any 400 or 500 level http errors.

Literal former Googlers and flubbing the interview. They would spend too much time setting up an IDE and project, not be sure how to handle errors, and unable to parse the json. We eventually added a skeleton java project and removed json from the api, allowing text only responses. I learned java people don't set up projects or deal with json. It is the only explanation

show 2 replies