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.

22

u/oridb Mar 01 '17 edited Mar 01 '17

How may of you think about and write code on a whiteboard? None?

So how do you sketch out algorithms when you collaborate with your coworkers? I'm constantly whiteboarding algorithms and system diagrams.

Also, interviews in front of a computer tend to be far more rigorous and chancey in my experience, because the code has to compile and run. If you have a typo or a minor mistake on a whiteboard? No big deal, you weren't in front of an IDE and you weren't expected to run your code. If you have a mistake to deal with while in front of an IDE, or get hung up on a dumb off by one error that you take 10 minutes of review to spot, you can't move on easily, test your other code, or move on -- and in addition to looking disproportionately bad, that can really throw someone off for the rest of the day.

2

u/GhostBond Mar 01 '17

If you have a mistake to deal with while in front of an IDE, or get hung up on a dumb off by one error, you really need to fix it before continuing to test -- and that can really throw someone off.

Not getting compile errors when coding is a far better indication that the person has actually been programming for years, than their ability to solve an algorithm on a white board in a high level way.

There's no way you should still be being stymied by compile errors in an IDE if you've been coding for years.

3

u/oridb Mar 01 '17 edited Mar 01 '17

There's no way you should still be being stymied by compile errors in an IDE if you've been coding for years.

Which is why I specifically did not say compile errors. Off by one errors when asked to implement Ford-Fulkerson, on the other hand, will happen. Yes, that's an actual example of a problem I've seen handed out for coding in front of an IDE. You were expected to look up references and refresh your understanding of the algorithm if needed.

6

u/GhostBond Mar 01 '17

Ford-Fulkerson... Yes, that's an actual example of a problem I've seen handed out for coding in front of an IDE.

Hazing (referred to as ragging in South Asia) is the practice of rituals, challenges, and other activities involving harassment, abuse or humiliation used as a way of initiating a person into a group including a new fraternity, sorority, team, or club.

Have you looked at the wikipedia page on Fork-Fulkerson?
https://en.wikipedia.org/wiki/Ford%E2%80%93Fulkerson_algorithm

They have a python implementation, it's a page long. That's not an interview question, it's a tool to beat someone with.

-6

u/oridb Mar 01 '17

It's perfectly reasonable to implement it in a couple of hours. A page of code for a well known and well documented algorithm isn't that much -- especially with a reference page describing it.

→ More replies (6)