Earlier quoted context omitted.
Standard disclaimer: everything below is my own opinion based on my personal experience, and I'm not speaking on behalf of my employer. > I thought I was done, then the interviewer said she would go go copy my code and compile it after the interview to see if I was right, which blew my mind. I've been interviewing at Google for nine years and have never done this. I generally don't think it's fair to ding a candidate…
How would you feel if you were going to a job as a writer, and the interviewee asked you to put a story, poem, etc. down on a napkin, with a crayon? Like thats how I would feel writing code into freakin google docs during a job interview...with Google. Tie 1 arm behind by back as the synax goes wonky, I'm fighting the spacing, etc. etc. Or put mario Andretti into a ford focus, then test his lap times, with 0 warning.…
That said, if a person is being considered for a coding job, wouldn't that person want to demonstrate their coding abilities? I mean, assuming they're actually good at coding?
In interviews, I much prefer a concrete problem to an abstract one, and coding problems are typically far more concrete than most other subjects covered in SW dev interviews.