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.

124

u/AmalgamDragon Mar 01 '17

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.

Lot's of places don't care about the language and will allow for learning it on the job. In that case, just let the candidate work in their language of choice. Avoids the whole 'boned' issue.

17

u/LetsGoHawks Mar 01 '17

If that's the case then fine. Have the PC setup with IDE's for 4 or 5 common languages and they get to choose. The big thing is that you're putting them in a coding type environment and giving them long enough to settle in and do their thing.

→ More replies (3)

89

u/ejfrodo Mar 01 '17

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.

Earlier today I was explaining something to my co-workers by writing code on a white board for about 20 minutes and talking about it. It's not that uncommon

32

u/curtmack Mar 01 '17

On the other hand, I've been at a whiteboard, completely failing to explain a concept that I had just implemented two days ago.

Public coding is certainly a skill that's good to have, but I wouldn't say it's the best indicator of overall skill.

20

u/[deleted] Mar 01 '17

But don't you want to hire an overall good programmer rather than someone very very good at coding an nothing else?

Overall as in : skilled, but also able to mesh in a team, explain what he does, etc...

15

u/LockeWatts Mar 01 '17

Being able to explain code on a whiteboard is not a proxy for those soft skills.

→ More replies (13)
→ More replies (5)

6

u/SanityInAnarchy Mar 01 '17

Well, it depends what you're looking for in an indicator. Unless you're starved for applications, it's probably better to risk rejecting a good candidate, rather than risk hiring a bad one. If you reject a good candidate, there will be more of them, and that one might come back in a year anyway. If you hire a bad candidate, it can be hard (and expensive) to fire them, even if it's as bad as The Abstract Candidate.

I think the idea is that if you can do whiteboard coding with an audience, you can probably do the sort of coding we do every day. It sucks that the reverse isn't true, but if you have enough resumes...

(Of course, the article's point about diversity still stands.)

→ More replies (1)

6

u/Greydmiyu Mar 01 '17 edited Mar 01 '17

When I am doing that with my coworkers, we're not coding. We're doing a high level, rough, problem-solving session where spacial positioning of the concepts provides context.

So thinking that correlates with coding is laughable.

→ More replies (3)

11

u/VanFailin Mar 01 '17

How may of you think about and write code on a whiteboard? None? That's what I thought.

I used to do that when I had my own office, where I had a white board that helped me piece ideas together. There wasn't a lot of fully-formed code, because it wasn't necessary, but this gets a lot easier with practice.

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.

→ More replies (15)

5

u/VerticalEvent Mar 01 '17

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.

My company does this - we give a one hour technical test with some short answer questions and three programming problems - one is a simple algorithm question (think word counting), one is bug fixing/refactoring, and the third is a data structure. We get the results e-mailed to us, and then we do the in person stuff an hour later, where we ask questions about the candidate and their solutions.

5

u/kamatsu Mar 01 '17

How may of you think about and write code on a whiteboard? None? That's what I thought.

I do that

And how often do you do it with people watching you? Never? I kinda figured.

I do that too, when I have to explain my work to someone else..

45

u/quicknir 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.

Lots of confidence. No data. How many randoms posting on reddit have more data, resources, or incentives to figure out better interviews than Google or Facebook? Right, none.

Provide a PC with internet connection and a variety of common IDE's. Give the subject a few problems to solve.

I talk about this option or ones related to it. You can do this, you just have to work much harder to frame the problem so it can't be trivially solved by Googling. The problem is that real problems aren't defined by having an IDE or internet. People wrote code before those things existed, and I'm willing to bet that good developers then would be good now and vice versa. Real problems are usually defined by being harder and bigger and taking longer than an hour or two.

This isn't really much less artificial than a whiteboard test in the ways that count, unless the problems are very well designed to your domain. There are even downsides to this test; the user might get confused on some trivial API detail and just get stuck. In a whiteboard test a good interviewer would just let that slide and move on to more interesting stuff.

In summary I think the test you suggest is valuable as well, the value compared to a whiteboard test is in a similar range (or more if the problem is well designed). They don't completely overlap so there is value in doing both.

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.

Some companies value CS fundamentals as highly or more than specific language choices. This is especially true for languages like Java, Go etc, that are not especially tricky to learn. Any good C++ or C# developer can be a good Java developer in the very near future, just perhaps not good enough today to pass a test specifically in Java.

→ More replies (19)

12

u/WalterBright Mar 01 '17

If I didn't know the language, I'd start out on the whiteboard by writing a compiler for that language.

→ More replies (3)

3

u/roodammy44 Mar 01 '17

I totally agree with this. I have read a study saying that students that did public coding at university did much better at whiteboard interviews. Which really makes sense when you think about it.

Public coding surely is a separate skill than work coding that has to be learnt. When you combine that with how often algorithms are coded at work (rarely, even at Microsoft and Amazon), it makes a whiteboard interview especially unnatural.

12

u/devraj7 Mar 01 '17

Whiteboard tests are bullshit because of the way the human brain works

Why does the medium the interview is being written on (a white board) relevant at all?

What matters is what is being asked of you.

So let's stop focusing on the white board and start paying attention to what really matters: what questions are being asked?

6

u/mathemagicat Mar 01 '17

Memory is context-dependent. People remember information best in the context where they learned it and/or use it most often.

Performing in front of a group provokes anxiety in many people. Activation of the sympathetic nervous system (the "fight or flight" system) impairs memory and cognitive function.

Whiteboard coding places different physical demands on the candidate than keyboard coding does. It places candidates with certain types of disabilities at a disadvantage.

It also tends to make women uncomfortable, particularly when the interviewing team is all male.

All this would be justifiable in a field like teaching, where working at a whiteboard is a routine part of the job. But it's completely unnecessary when you're hiring programmers. If you want to do a group viewing of the candidate's coding process in action, hook their laptop up to a projector. Project it onto a whiteboard if you want.

0

u/[deleted] Mar 02 '17

[deleted]

2

u/mathemagicat Mar 02 '17

I'm not surprised you saw a difference, but I'm surprised the difference was that big! Do you think it's purely because female candidates perform better in the new setup, or do you think the interviewing team's perception of the candidates might be affected as well?

→ More replies (1)

0

u/[deleted] Mar 01 '17

[deleted]

→ More replies (1)
→ More replies (3)

2

u/dccorona Mar 01 '17

There would be a better source for interview questions than currently exists in like a week's time. It would get to the point where you'd have to make up a brand new question for nearly every interview in order to avoid having people just be able to look up the exact answer.

If I'm hiring a Java programmer, I test them in Java and they damn well better be able to code in Java

Some of our best programmers came in not knowing Java. Unless we're hiring for something that's not C-like, I don't see a reason to require any specific language...nearly every programmer in the world knows some C-dialect at least well enough to be able to learn another one. It's the basics of software engineering that we're looking for, not specific knowledge of some programming language. New languages are not usually hard to learn...programming fundamentals, not so much.

However, I suspect that a lot of companies aren't like this. I was doing in an interview (phone screen) where a candidate was asked to describe a hash table, and they got caught up on describing Java's Hashtable, the legacy data structure that was replaced by HashMap ages ago. They seemed to be already hardwired to expect to be tested deeply on their knowledge of Java.

2

u/Ghi102 Mar 01 '17

I've heard a story (not sure where, take it with a grain of salt) about how the best way to hire Java programmers is to try to hire C++ programmers.

2

u/DidntKnowTheLanguage Mar 02 '17

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.

Then you're not very good at your job as an interviewer. Just left a job I was at for several years where we wrote java. I didn't know java. It takes virtually no time to learn the differences between java and c++, not knowing java meant nothing.

You're basically showing yet another issue with interviews. Weird and unreasonable (as in, they're silly, not hard to fulfill) requirements that don't test their actual ability at the job.

How may of you think about and write code on a whiteboard? None? That's what I thought.

Uhh, a lot fucking more than none? This is AGAIN, you confusing YOUR work process for "the only way to do it."

You're actually a great example of what's wrong with interviews a lot of the time. You have this idea of what must work or "makes sense" and you don't see where it doesn't actually make sense. Interviews can be about catering to THAT, instead of showcasing actual skill. Works great for me because I'm good at that, but it's still misleading.

→ More replies (25)