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

4

u/AmalgamDragon Mar 01 '17

These articles get written a lot, but it's not really clear what the alternative would be.

Write code in the candidate's preferred development environment and programming language? Internet connection and web browser included in such environment just as it will be on the job. A whiteboard should also be present for writing down the problem, aiding in solving the problem, and any design that is needed.

Rather than having each interviewer giving small, unrelated problems, have single larger problem that is worked on over all of the interviews.

All logistical issues associated with doing that instead of doing it all on a whiteboard, and only a whiteboard, are solvable.

4

u/WalterBright Mar 01 '17

have single larger problem that is worked on over all of the interviews.

That works until someone posts an article that to get a job at ABC Corp one has to know how to solve that problem.

1

u/AmalgamDragon Mar 01 '17

That doesn't really change anything as the overall problem is given to the candidate before the interview and doesn't have a single solution or small set of right solutions. The point is to see how they work, not see to if they solve a problem in a day, as real, novel problems can not be solved in day.

1

u/WalterBright Mar 01 '17

If they know about the problem beforehand, and they will because previous candidates will publicize it, then they'll come well prepared to solve that particular problem. This will give you, as an interviewer, very little information.

1

u/AmalgamDragon Mar 01 '17

I just said they know it because they were told (by us) beforehand, so it doesn't matter if it's publicized or not. There are not any tricks to it, and there isn't a single solution or a small set of right solutions to memorize.

Again the point is to see how they work, which means decomposing the larger problem down into smaller problems and solving those. There is no one way to decompose the larger problem, so everybody does it differently. People have different approaches to architecture and design and different programming languages get used. The problem is large enough that it would take days to fully complete, and so to keep in scope the interviewers will direct areas to drill into more depth and there is some degrees of freedom for the interviewers with respect to constraints / performance requirements. Never see the same thing twice even with foreknowledge.

Get way more information from seeing people work on larger, more opened ended problem like this in a real development environment, than from watching solve and code up a series of small problems on a whiteboard.

2

u/quicknir Mar 01 '17

They are solvable, and I wrote that I liked such options (esp with pair programming). It's just that they provide (as I wrote in my response to your sibling comment) some none overlapping value with whiteboard tests. And of course what you are suggesting is far more work and coordination. It's a trade off to try to figure out, if a candidate is coming in for 6 hours, whether every single hour should be a highly crafted gem of appropriate problem solving, whether it should all be whiteboard problems, or something in between. Unless you interview candidates for only a couple of hours, for almost every real world company it will probably just make sense to have whiteboard or small puzzle style problems for at least part of the interview time.

1

u/AmalgamDragon Mar 01 '17

And of course what you are suggesting is far more work and coordination.

In my experience, it is actually less work and the same amount of coordination. It takes more time to come up with 4-8 different good problems that are suitable to 35-50 minutes on a whiteboard than it does to come up with one good problem that needs to fit in 4-6 hours. When interviewers switch they should already be having a conversation. That conversation changes a bit, but it isn't any more difficult or longer (everyone is familiar with the problem, which isn't always the case with each interviewer doing their own problem). This also gives the candidate something to do while the interviewers are chatting instead of just being left to sit by themselves.

5

u/quicknir Mar 01 '17

I think what you are saying is clearly false on its face. You can easily look up in minutes tons of decent algorithms problems. You are bound to hear ones you like yourself when you interview around. I have a rotation of problems I like and I've never needed to spend more than 5 minutes preparing for a whiteboard/algorithms interview. Amount of coordination with others: 0.

Coming up with a really good, even 1-2 hour, relevant problem that's not trivially solvable takes at least a few hours. That's about how long it's taken every person I've seen prepare one. Then has to get reviewed by others, instructions clarified, skeleton code modified, etc. Every person who administers the test has to be pretty familiar with the code which takes around 30 minutes.

You are scaling up the size by a factor of 4 or so. Crafting a good problem that size will take at least a day. For another to understand the instructions, skeleton code, how they would solve it, etc will take at least an hour of reading and thinking and maybe even a bit of writing. During the interview, each interviewer will have to step out and talk to the next one for at least 10 minutes. And it will still be somewhat bewildering, at least for the last interviewers, who have to get up to speed on a solution that's work in progress of several hours.

If you can come up with a good 6 hour problem in an hour or less, you're either a savant at this particular thing, or your problems are not good. There's just not really any other possibility.

5

u/AmalgamDragon Mar 01 '17

I think interviewing at your company is clearly a poor experience. No coordination between interviewers? Great, they will ask the same questions. They might even ask the same coding question, and the candidate will have to inform the interviewer they already got that question that day.

It only takes a few minutes to get a decent hand-off between interviews. 10 is sign something is wrong.

Doesn't develop unique problems? Great, get to tediously solve the same toy problems that were solved during another interview or in interview prep.

You don't need to develop a new problem for each candidate. The beauty of one larger problem, is that it has breadth and depth and no single solution (or even small number of 'right' solutions). Once it's been developed it can simply be used over and over again, so everyone becomes familiar with it.