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

Show parent comments

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.

→ More replies (8)