r/programming • u/speckz • Mar 01 '17
Programmers are confessing their coding sins to protest a broken job interview process. “Whiteboard” interviews are widely hated. They also discriminate against people who are already underrepresented in the field.
https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.0k
Upvotes
10
u/cdsmith Mar 01 '17
This is far overstating the case. The notion that whiteboard interviews are all about memorizing answers is ridiculous. If you have the answer memorized, the question was broken. If you want to sort a list, and the interviewer makes you implement the sort, they screwed up. The point is to give you a problem that you do NOT know how to solve, and watch you figure it out. If you ask to use a well-understood component (algorithm, data structure, library...), the answer should almost always be yes. If you don't remember the details of an API, the answer should be to pick something that it MIGHT be, and proceed with that.
This isn't some unattainable ideal, either. It's how basically every interview I've ever done has worked. The one time I was asked about some language detail, I was literally being interviewed by Joshua Bloch, the author of half the books I owned about Java language quirks, and I forgot about overriding equals and hashCode for a Java value class. Oops, real beginner mistake there! Got hired for senior software engineer position anyway. Guess he didn't really care that much about language details.
I really think people are scaring themselves about this without cause. They freak themselves out imagining that the interviewer expected them to just know the answer, when that wasn't true. If the position isn't a fit, they tell themselves it must have been that they couldn't recall how to find the length of a string. It wasn't. Reminds me of when I teach in middle school, and I try so hard to find good formative assessments that exercise creative design and problem solving skills in coding; and students say "you never told us how to do that.". Answer is the same. You weren't supposed to know! You were supposed to figure out.