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

107

u/[deleted] Mar 01 '17 edited Mar 01 '17

Only drawback to this is if you ask them to do it on premises with a time limit. To represent our speed we need a familiar ide, familiar keyboard etc.

As long as the interviewer understands this, this type of test is really nice.

Best one is getting paid like 2-3 hours to make a homework assignment though I feel. Never experienced this though so can't comment on it more than that it seems like a better idea.

Cheating might be a problem here. You may need to establish a time, like 1 day limit, where the developer receives the code and must check in the next day. I dunno.

58

u/d4rch0n Mar 01 '17

I don't think there's much point to try to prevent cheating, as much as try to catch them during the physical interview. Have them do it before hand, then when they come in, actually read through their solution and ask them why they did it this way, what the benefits were, what they might have changed or refactored later, etc.

People who cheat probably aren't the type to be able to bullshit that on the spot. The guys who are good enough to do it will likely do it, and you'll see the quality of their work. The guys that can't do it and have to resort to cheating will bomb hard when you dig into it in detail with them.

If they DO cheat, and do fully review it and understand it and ace the talk, hell, maybe they're good enough anyway.

14

u/[deleted] Mar 01 '17

I had exactly this discussion within my company and we decided against it. The problem is that any average skilled candidate can cheat by getting someone higher skilled to solve & explain the solution to him and you can't actually figure out if he solved it himself or just got it explained by someone better.

So we do the testing on the spot, during the interview, with the problem/code at first sight.

2

u/agent8261 Mar 01 '17

I think the % of people who would do this is small enough to just eat the failure state.

0

u/[deleted] Mar 02 '17

[deleted]

1

u/GhostBond Mar 02 '17 edited Mar 02 '17

They literally eat up your time and money and mess up your business while they are at it. It's so hard to catch without an extensive interview or introduction period.

My experience is that there's 2 big types of bad hires:
1. They don't know what they're doing, but they're friendly and nice.
2. They're socially toxic, insisting on adding a new framework every few months to cure their boredom (they're different than people who add frameworks after careful consideration, or even who add them for their own career benefit, either of the 2nd two can be fine). They seem to "get things done" but what they really do is a minimal implementation, then socially engineer a way to pass it off to someone else - who gets the blame for it not working. At some point their huge ball of technical debt starts to become to big to ignore - somewhere between 6 months and 2 years depending on the project - and when the manager who has so far thought they were "great", bragged about them, implemented whatever they wanted starts to catch on - they move to another job at another company, leaving everyone behind them completely screwed.

Thing is, #1 isn't that bad. They're just a waste of time. The biggest problem is their manager desperately trying to move pieces around and pretend they didn't make a bad hire, and the issue of their manager not wanting to get rid of them.

#2 is the disaster that eats up your time, money, and messes with your business while they're at it. And you know what? They LOVE fizzbuzz and whiteboard questions. The idea of putting people in front of an audience and pushing their buttons, they love doing it, they love being the person performing in it, they just love the whole thing.

You're not weeding out #2 with fizzbuzz etc. They love these interview questions, they pass them no problem.

2

u/superPwnzorMegaMan Mar 01 '17

If they're so inventive/desperate to do such a think you probably want to hire them anyway.

5

u/All_Work_All_Play Mar 01 '17

Ehhhh, possibly.

I tell my students something similar. You can cheat if you want. If I catch you, you'll fail. If you somehow manage to evade detection, you're likely doing more work and learning the material better than if you were just doing the work yourself.

I've caught (and failed) a couple cheaters. There's only been one occurrence in a few hundred students where I wasn't sure, but the almost-non-cheatable tests seemed to verify that they had actually learned the material.

This case is similar, except the cheating is a lot easier. The way to correct for it is to either seed knowing cheating resources with false answers (done automatically by grading software), or have an on the fly did-you-cheat-on-this test (which is what I would do).

I can get why HR wouldn't be comfortable with either.

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.

4

u/foobar5678 Mar 01 '17

I need my hot keys and my bash aliases. Without them, I'm useless.

1

u/[deleted] Mar 01 '17

True. To be fair I'm a .net developer and we all pretty much use visual studio so the keyboard and ide shouldn't be a factor. Though I can see how that would play into developing in a language like node.js or python.

1

u/vorpal_username Mar 01 '17

Maybe let them use their own laptop and have the code in a github repo or something. Then they can use their own setup to do it. Of course this assumes they bring a laptop.