r/programming • • 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

717 comments sorted by

View all comments

455

u/quicknir Mar 01 '17 edited Mar 01 '17

These articles get written a lot, but it's not really clear what the alternative would be.

One common suggestion is to give people homework assignments, or even pay them to come in for the day and do some work. This is actually often worse along many of the axes discussed in the article; it's even harder to find the time for this, and it even more clearly rewards people who have more time. Having half the time to study is a disadvantage but having half the time to do the actual work is crippling.

Another suggestion is to evaluate people on their past work. But again, most people work for companies where most of their work is proprietary. I can't share any of the best code I've written with my next employer. Forcing people to have active github accounts to get top tier jobs again penalizes people who have less time to a much greater degree.

You can have soft discussions of people's past work, see if their experience seems relevant. But this isn't necessarily successful at filtering people out. People can sound reasonable discussing some topic they've worked on before, and not pass FizzBuzz. And arguably this is even less objective and gives more leeway to the interviewer to simply give the pass to people they gets along with.

Whiteboard interviews are like anything else. They can be better, they can be worse. If your interviewer actually cares that you don't remember how to find the length of a string, they're bad at interviewing. Every interviewer I've ever had, I would simply say (as I'm writing): so I get the length of this string in python, I forget the function, but let's just say s.length()... And that would be it. Nobody would care. That's not the purpose of a whiteboard interview. Similarly, like some of the tweets, I probably couldn't kill a whiteboard test right now. But I know they are tested, so if I was applying for jobs I would brush up on it and be able to do well.

My favorite interview technique would probably be to create a toy problem relevant to my domain that takes say, 1-2 hours to work through. And then pair program with the candidate at a real computer. This has issues too though; it's way more effort to put together, if the candidate doesn't have experience in the specific language(s) you put the test together in, they're boned, etc.

Despite the criticisms, whiteboard tests administered reasonably really aren't so bad, and should have their place:

  1. They're reasonably objective. The problem to be asked can be shared among people in a company before hand. A bar of how long it should take to come up with various solutions, with how many hints, can be put in place. It's not clear that they disadvantage the groups mentioned in the article, any more than those groups are intrinsically disadvantaged by having less time or not having a top tier CS education.

  2. They're reasonably correlated with ability. It's a very noisy correlation, and as you ask harder questions it gets noisier (IMHO), but someone who can't write very basic algorithms either has some issues with their grasp of basic CS concepts (most whiteboard questions should be solvable with no knowledge outside a freshman CS algorithms class) or didn't bother to study at all.

  3. They're reasonably easy to put together. The time of your current developers that already productive is very valuable. At some point you have to balance between spending far more of their time to have a marginally better process.

Like with anything, you have to have reasonable interviewers. There's no way around it. And you need to balance it with different types of interviews.

On a final note I don't really find the the entire discrimination angle very compelling. Neither this article, nor any of this linked, actually give any empirical evidence at all that whiteboard interviews penalize those groups more so than any other interviewing technique mentioned. In fact, it's not even clear if any interviewing technique penalizes those groups at all. For instance, many people have taken the position that the percentage of women at many major tech companies is pretty comparable to the percentage completing CS degrees. If that's the case, it seems like it would be more productive to look at why fewer woman are doing CS in the first place, instead of focusing on the CS-work pipeline.

Edit: I also have to say one last thing. It's common for the programming world, to act like they are unique in this regard, that the interview process is so badly flawed, etc. The reality is that it's almost certainly better than the interview process in most other disciplines. At least in programming you can talk to someone for an hour and see quickly that they are very bad, or very good, or somewhere in between. That is an axis that's simply not available in most professions. There's many jobs where "culture fit", bullshitting ability, and references count for everything.

24

u/beginner_ Mar 01 '17

Whiteboard interviews are like anything else. They can be better, they can be worse. If your interviewer actually cares that you don't remember how to find the length of a string, they're bad at interviewing. Every interviewer I've ever had, I would simply say (as I'm writing): so I get the length of this string in python, I forget the function, but let's just say s.length()... And that would be it. Nobody would care.

Maybe so but why do I need to know bubble sort, merge sort, whatever sort or algorithm by heart? It depends on the task you need to do on the whiteboard. Who actually writes sorting algorithm from scratch?

27

u/yellowjacketcoder Mar 01 '17

If your interviewer wants you to write bubble sort from scratch, they're a shitty interviewer. Nobody does that outside of CS101. They should be asking some reasonably difficult problem like "given a list of students, find the valedictorian and salutatorian" or "write a system to evaluate poker hands" or "Given a formula for creditworthiness, determine how much of a mortgage to offer someone". Obviously nobody is going to write production ready code in an interview but you get to see them approach a problem, where they make assumptions and where they ask questions, write out some simple algorithm, and you have a pretty decent idea of what kind of coder they are.

20

u/cogman10 Mar 01 '17

Yup.

And frankly, a large number of applicants fail fizzbuzz esq problems.

When I interview, I expect almost nothing from my interviewees. When it is a shared coding website, I'll even go in and fix minor syntax mistakes/problems for them to get their code to compile. I don't care at all that they don't know every method that exists in whatever language they are using. Heck, I encourage them while interviewing to feel free to google that shit. (and I let them know if they are using a language I'm unfamiliar with, "hey, I'm googling it now".)

The most important thing to me is always "Can you code". Not "Do you have an encyclopedia of knowledge about the standard library and the syntax tree".

And like I opened up with, many, MANY people fail the most basic of coding problems. Problems that have no tricks, no special knowledge requirements, that are basically "Here are the requirements, write code".

An example problem "Merge 2 sorted arrays". Though with a lengthy description and example input/output. A shockingly large number of people simply can't do that.

3

u/uber_neutrino Mar 01 '17

Yup. Many people fail the absolute most basic requirements. Fizzbuzz isn't a programming test, it's an idiot filter. I would be embarrassed if I brought someone on site who couldn't solve that which is why I phone pre-screen.