This happened during a whiteboard programming exercise in an interview with Amazon (I read an article literally the day after this interview about how Amazon is a terrible employer)
Interviewer: Write a lock-free algorithm to solve the dining philosopher's problem [or some sort of non-trivial concurrent programming problem, this was a couple years ago so I forget the specifics]
loinburger: Sure [writes algorithm on whiteboard]
Interviewer: You forgot to put a semicolon at the end of line 16
loinburger: Okay
Interviewer: Aren't you going to fix it?
loinburger: You were being serious? I thought you were joking
Interviewer: No, I was being serious
loinburger: Oh, okay
Interviewer: ... so aren't you going to fix it?
loinburger: No
Interviewer: Write a lock-free algorithm to solve the dining philosopher's problem [or some sort of non-trivial concurrent programming problem, this was a couple years ago so I forget the specifics]
loinburger: Sure [writes algorithm on whiteboard]
Interviewer: You forgot to put a semicolon at the end of line 16
loinburger: Okay
Interviewer: Aren't you going to fix it?
loinburger: You were being serious? I thought you were joking
Interviewer: No, I was being serious
loinburger: Oh, okay
Interviewer: ... so aren't you going to fix it?
loinburger: No
Comment