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.

110

u/LetsGoHawks Mar 01 '17

Whiteboard tests are bullshit because of the way the human brain works. We learn to work and think about certain problems in the environments in which we usually work and think about them.

How may of you think about and write code on a whiteboard? None? That's what I thought. And how often do you do it with people watching you? Never? I kinda figured.

Oh, and also how many do it without being able to look at any reference material or Google.... NONE OF YOU, THAT'S HOW MANY.

So here's the alternative

Provide a PC with internet connection and a variety of common IDE's. Give the subject a few problems to solve. Come back in an hour or two and see how they did. Talk about how they got their solutions and what they like or don't like about them.

As for:

if the candidate doesn't have experience in the specific language(s) you put the test together in, they're boned, etc.

If I'm hiring a Java programmer, I test them in Java and they damn well better be able to code in Java.... it's not exactly a gotcha situation.

45

u/quicknir Mar 01 '17

Whiteboard tests are bullshit because of the way the human brain works. We learn to work and think about certain problems in the environments in which we usually work and think about them.

Lots of confidence. No data. How many randoms posting on reddit have more data, resources, or incentives to figure out better interviews than Google or Facebook? Right, none.

Provide a PC with internet connection and a variety of common IDE's. Give the subject a few problems to solve.

I talk about this option or ones related to it. You can do this, you just have to work much harder to frame the problem so it can't be trivially solved by Googling. The problem is that real problems aren't defined by having an IDE or internet. People wrote code before those things existed, and I'm willing to bet that good developers then would be good now and vice versa. Real problems are usually defined by being harder and bigger and taking longer than an hour or two.

This isn't really much less artificial than a whiteboard test in the ways that count, unless the problems are very well designed to your domain. There are even downsides to this test; the user might get confused on some trivial API detail and just get stuck. In a whiteboard test a good interviewer would just let that slide and move on to more interesting stuff.

In summary I think the test you suggest is valuable as well, the value compared to a whiteboard test is in a similar range (or more if the problem is well designed). They don't completely overlap so there is value in doing both.

If I'm hiring a Java programmer, I test them in Java and they damn well better be able to code in Java.... it's not exactly a gotcha situation.

Some companies value CS fundamentals as highly or more than specific language choices. This is especially true for languages like Java, Go etc, that are not especially tricky to learn. Any good C++ or C# developer can be a good Java developer in the very near future, just perhaps not good enough today to pass a test specifically in Java.

3

u/LetsGoHawks Mar 01 '17

Lots of confidence. No data.

There's actually quite a bit of data on how the human brain works. And it gets ignored constantly.

How many randoms posting on reddit have more data, resources, or incentives to figure out better interviews than Google or Facebook?

Would those be the same Google and Facebook that decided it was a great idea to ask what amounted to trivia questions... then years later decided those questions weren't worth a crap when it came to finding good programmers? And for most of those years you could read a ton of posts on Reddit questioning those methods.

And obviously you need to think pretty carefully about the problems you want them to solve. There's a limited amount of time and you can't expect them to know everything about every API or library or whatever.

The other thing I thought of later... some people pointed out that you need to be able to explain your thought processes, or present them to your team. Fine. But how often are you going to get cold called up in front of the group to do those things. Never. You'll be explaining things that you've been working on or thinking about for weeks/months. Or you'll know there's a meeting tomorrow so you have a chance to get your thoughts together. Plus, you know the people involved so the stress is far lower.

3

u/AmalgamDragon Mar 01 '17

Not only that, but Google and Facebook may be just fine with their interview process having an age bias.

They also get a ton of people applying, so they may well be able to meet their hiring goals even with very high false positive rates. Most companies don't have this problem (tons of people applying), and so they may be deploying a solution to a problem they don't have without realizing it by simply copying what other companies are doing.

4

u/speedtouch Mar 01 '17

I remember reading that Google/Facebook (all the big tech companies really) tend to err on the side of false negatives, which makes a lot of sense for companies that get thousands of applicants, they can afford to do that.

But those smaller businesses that want the best developers but only get a handful of applicants, it's absurd to follow the same path.