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

25

u/mission_norway_svar Mar 01 '17

I have often given these kind of homework assignments if I need to get a sense of someones programming ability and they don't have any previous code they can provide me with. I usually give them a week to develop something that should take no more than a couple of hours.

The interview after the assignment always has focus on them talking through what they developed, what their thinking was, things they would change if they had more time, etc. So yes, there is a risk of cheating but you can get a sense of that if you get them to explain themselves.

I find this works well because you also get a sense of how good a person is at explaining technical things; and explaining their thinking process - both of which are important when working in a team.

18

u/BobNoel Mar 01 '17

I've done more than a few of these. They always look so simple. 6 hours later...

6

u/mission_norway_svar Mar 01 '17

You are correct; and I share this worry.

This is why I much prefer a person having some code they can share with me rather than me setting an assignment. I do worry that although I say this should take a couple of hours, it really does vary, not everyone has a couple of hours, and there is the temptation to spend several days working on it because you want to impress.

An alternative I have used is pair-programming, but that also requires a commitment of a few hours.

6

u/BobNoel Mar 01 '17

I've had interviews where I was asked to do some coding and given a limit of an hour or less. It would be impossible to complete the assignment, but that combined with a short conversation was enough that the interviewer could get an idea of competency. Those coding tests are my favourite.

On the idea of "because you want to impress"...the last time I did one of those I spent two days on what should have been a few hours. It was pixel-fucking-perfect and was the only perfect submission the interview said he had received, but sometimes it's really hard to not make just...one....more....tweak...when there's time.

1

u/rivade Mar 01 '17

Can we combine these?

What if the interviewer gives the candidate an assignment to turn in, say, a week, and while the interviewer is reviewing the completed project, they intentionally introduce a couple of bugs? During the actual interview, the candidate is asked to track down the bugs. If there's time, have them add a simple feature.