r/programming • u/speckz • 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-process455
u/quicknir Mar 01 '17 edited Mar 01 '17
These articles get written a lot, but it's not really clear what the alternative would be.
One common suggestion is to give people homework assignments, or even pay them to come in for the day and do some work. This is actually often worse along many of the axes discussed in the article; it's even harder to find the time for this, and it even more clearly rewards people who have more time. Having half the time to study is a disadvantage but having half the time to do the actual work is crippling.
Another suggestion is to evaluate people on their past work. But again, most people work for companies where most of their work is proprietary. I can't share any of the best code I've written with my next employer. Forcing people to have active github accounts to get top tier jobs again penalizes people who have less time to a much greater degree.
You can have soft discussions of people's past work, see if their experience seems relevant. But this isn't necessarily successful at filtering people out. People can sound reasonable discussing some topic they've worked on before, and not pass FizzBuzz. And arguably this is even less objective and gives more leeway to the interviewer to simply give the pass to people they gets along with.
Whiteboard interviews are like anything else. They can be better, they can be worse. If your interviewer actually cares that you don't remember how to find the length of a string, they're bad at interviewing. Every interviewer I've ever had, I would simply say (as I'm writing): so I get the length of this string in python, I forget the function, but let's just say s.length()... And that would be it. Nobody would care. That's not the purpose of a whiteboard interview. Similarly, like some of the tweets, I probably couldn't kill a whiteboard test right now. But I know they are tested, so if I was applying for jobs I would brush up on it and be able to do well.
My favorite interview technique would probably be to create a toy problem relevant to my domain that takes say, 1-2 hours to work through. And then pair program with the candidate at a real computer. This has issues too though; it's way more effort to put together, if the candidate doesn't have experience in the specific language(s) you put the test together in, they're boned, etc.
Despite the criticisms, whiteboard tests administered reasonably really aren't so bad, and should have their place:
They're reasonably objective. The problem to be asked can be shared among people in a company before hand. A bar of how long it should take to come up with various solutions, with how many hints, can be put in place. It's not clear that they disadvantage the groups mentioned in the article, any more than those groups are intrinsically disadvantaged by having less time or not having a top tier CS education.
They're reasonably correlated with ability. It's a very noisy correlation, and as you ask harder questions it gets noisier (IMHO), but someone who can't write very basic algorithms either has some issues with their grasp of basic CS concepts (most whiteboard questions should be solvable with no knowledge outside a freshman CS algorithms class) or didn't bother to study at all.
They're reasonably easy to put together. The time of your current developers that already productive is very valuable. At some point you have to balance between spending far more of their time to have a marginally better process.
Like with anything, you have to have reasonable interviewers. There's no way around it. And you need to balance it with different types of interviews.
On a final note I don't really find the the entire discrimination angle very compelling. Neither this article, nor any of this linked, actually give any empirical evidence at all that whiteboard interviews penalize those groups more so than any other interviewing technique mentioned. In fact, it's not even clear if any interviewing technique penalizes those groups at all. For instance, many people have taken the position that the percentage of women at many major tech companies is pretty comparable to the percentage completing CS degrees. If that's the case, it seems like it would be more productive to look at why fewer woman are doing CS in the first place, instead of focusing on the CS-work pipeline.
Edit: I also have to say one last thing. It's common for the programming world, to act like they are unique in this regard, that the interview process is so badly flawed, etc. The reality is that it's almost certainly better than the interview process in most other disciplines. At least in programming you can talk to someone for an hour and see quickly that they are very bad, or very good, or somewhere in between. That is an axis that's simply not available in most professions. There's many jobs where "culture fit", bullshitting ability, and references count for everything.
40
u/MSgtGunny Mar 01 '17
My team found our answer. We pair program 90% of the time, so when we interview someone, they pair with one of us and do pair TDD on sample stories (usually very simple things). They get the full use visual studio and resharper to get coding help and can google anything they need to.
27
u/tsredd Mar 01 '17
so when we interview someone, they pair with one of us and do pair TDD on sample stories (usually very simple things).
The downfall of that is whether or not the sample stories generic enough or require some knowledge of the overall system. Also being familiar with the IDE setup (I know of people who setup all kind of custom keybindings and get uncomfortable when using somebody else's machine).
And the bigger one would be, having someone literally looking over your shoulder for every keystroke you do in an interview capacity can be nerve wrecking to quite a few people that diminishes their output.
Just pointing out the potential downfalls of the approach thus going back to the post above that each approach have its own problems.
→ More replies (3)6
u/jlchauncey Mar 01 '17
At my last job we allowed you to use any ide and any language you wanted to solve the problem we were pairing on. Completion was not the goal. But seeing how you solved problems was.
2
Mar 02 '17
20+ years programming experience here.... visual studio would be major impediment to me and I've never used resharper.
3
u/superPwnzorMegaMan Mar 01 '17
We pair program 90% of the time
That's a fucking nightmare, I get so tired from that, I mean literally physically exhausted.
6
u/tetroxid Mar 01 '17
If your interviewer actually cares that you don't remember how to find the length of a string, they're bad at interviewing
Yes. Yes they are. Most companies are.
24
u/beginner_ Mar 01 '17
Whiteboard interviews are like anything else. They can be better, they can be worse. If your interviewer actually cares that you don't remember how to find the length of a string, they're bad at interviewing. Every interviewer I've ever had, I would simply say (as I'm writing): so I get the length of this string in python, I forget the function, but let's just say s.length()... And that would be it. Nobody would care.
Maybe so but why do I need to know bubble sort, merge sort, whatever sort or algorithm by heart? It depends on the task you need to do on the whiteboard. Who actually writes sorting algorithm from scratch?
27
u/yellowjacketcoder Mar 01 '17
If your interviewer wants you to write bubble sort from scratch, they're a shitty interviewer. Nobody does that outside of CS101. They should be asking some reasonably difficult problem like "given a list of students, find the valedictorian and salutatorian" or "write a system to evaluate poker hands" or "Given a formula for creditworthiness, determine how much of a mortgage to offer someone". Obviously nobody is going to write production ready code in an interview but you get to see them approach a problem, where they make assumptions and where they ask questions, write out some simple algorithm, and you have a pretty decent idea of what kind of coder they are.
20
u/cogman10 Mar 01 '17
Yup.
And frankly, a large number of applicants fail fizzbuzz esq problems.
When I interview, I expect almost nothing from my interviewees. When it is a shared coding website, I'll even go in and fix minor syntax mistakes/problems for them to get their code to compile. I don't care at all that they don't know every method that exists in whatever language they are using. Heck, I encourage them while interviewing to feel free to google that shit. (and I let them know if they are using a language I'm unfamiliar with, "hey, I'm googling it now".)
The most important thing to me is always "Can you code". Not "Do you have an encyclopedia of knowledge about the standard library and the syntax tree".
And like I opened up with, many, MANY people fail the most basic of coding problems. Problems that have no tricks, no special knowledge requirements, that are basically "Here are the requirements, write code".
An example problem "Merge 2 sorted arrays". Though with a lengthy description and example input/output. A shockingly large number of people simply can't do that.
→ More replies (4)7
u/uber_neutrino Mar 01 '17
It's not about writing them from scratch, it's about whether you understand them and know when to use them. Which is why a discussion around big O makes more sense than having people code on a whiteboard.
→ More replies (12)5
u/D3gr33 Mar 01 '17
why do I need to know bubble sort, merge sort, whatever sort or algorithm by heart?
If it's an obscure algorithm, then you're right, that's a bad way to gauge ability. If it's something that's supposed to be common, any worthwhile software developer should be able to come up with it. If you were asked to implement binary search, it's not a matter of having the algorithm memorized, but rather that you should be able to easily reproduce the code just by knowing the concepts.
It's like asking someone to write FizzBuzz. Just because they can come up with the code doesn't make them a good software developer, but if they can't come up with a solution at all, then they're probably awful at the sort of problem solving skills that software development requires.
Who actually writes sorting algorithm from scratch?
Nobody. But making you write a sorting algorithm from scratch shows that you understand the concepts, which is extremely important.
→ More replies (2)5
u/KagakuNinja Mar 01 '17
There are books such as Cracking the Code Interview that breakdown hundreds of sample code challenges into categories, and provide a flow chart for how to analyze a code challenge and quickly pick one of about 8 basic strategies for solving the problem.
In other words, it is a way to cram for whiteboard challenges. It is necessary to do this kind of cramming, because solving whiteboard problems in a way that will impress the typical interviewer is significantly different than how we write actual code on the job.
Crammers will review all the basic algorithms of sorting, searching, etc; as a result, they will perform better if you ask such a question. If you ask a "custom problem", then they will apply the flow chart and again, perform better.
→ More replies (2)→ More replies (6)2
u/rabidstoat Mar 01 '17
First job out of school in the early 90s asked me to code a sort in C, which I had indicated was a language I knew. I asked if there were any requirements in terms of efficiency, and they said no, no need to write something like a quicksort.
I wrote what I called Random Sort. It went into a loop that simply put the numbers in a random order. Then it checked to see if they happened to be sorted. If it was, the loop terminated and gave that as the answer. If not, the loop continued with another random ordering.
The input size was like 100 numbers and of course it didn't terminate. I argued that it met the requirements and would, indeed, produce a correct solution eventually.
I got the job.
Now granted, this probably only worked because I interviewed with someone I'd known for a few years as an undergrad research assistant, and who knew I was a good programmer. But still, it amused me at the time.
→ More replies (4)4
u/absentmindedjwc Mar 01 '17 edited Mar 01 '17
I personally prefer to sit a candidate in front of a computer, ask them to do a reasonably complex task, and give them full internet access - letting them know that "Everyone looks things up, so feel free to use whatever online resources you want in order to solve this problem".
Since it is timed, I don't "grade" based on completion, but rather on approach. If they finish, I ask them why they took that approach rather than {random other approach}, if they didn't finish, I ask them to walk me through their thought process, and how they intended to finish it.
Ultimately, I feel as if I get a decent idea of the general competency level of the candidate in the most "real-world" way possible without assigning them some form of "homework assignment".
Edit: once upon a time, I was given a whiteboard challenge for a front-end role that "won't really have any back-end work". The whiteboard challenge could be easily completed in JavaScript, so that was the language I used.... after I finished the solution, I was given a "thanks for your time, but you don't seem to have enough experience in {back-end language}". Well, had you asked me any fucking questions or given me any indication that the language - a language I have a decade of experience in - was required for this role, I would have been more than happy to answer for that language.
Some companies/teams are just shit at interviewing.
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.
→ More replies (2)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.
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.
→ More replies (1)20
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...
→ More replies (17)→ More replies (2)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.
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 (14)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 (18)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?
→ More replies (5)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.
→ More replies (2)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 byHashMapages 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.
3
Mar 01 '17
I don't really agree they need significant depth in the language the company uses -- I've generally preferred people who were flexible enough to just code well generally. As long as you know your fundamentals etc well you should be able to apply it a new language reasonably
→ More replies (17)4
Mar 01 '17
until HR/Recruiting sends them through because they had "Spring Framework" on their resume and you find out it's been 8yrs since they've written the stuff and spent the last 8 doing Python.
→ More replies (5)7
u/GhostBond Mar 01 '17
Doing FizzBuzz on a whiteboard isn't going to help you in the slightest in filtering out candidates that lied about their spring / hibernate / html / etc experience.
3
u/BlockedByBeliefs Mar 01 '17
Anyone who asks fizz buzz has no idea how to interview. If you know how to talk to people about things you'll know if they're a good fit. Program this questions only screen out people who don't perform well on the spot and who don't memorize the small number of different interview questions. I can't stress enough how small a factor programming skill is. If someone has been doing it for 10 years guess what? They know how.factors like will they fit in... Will they be someone you get along with sustainably... Are they committed to finding the best solution or do they think it's good to make it work. These things are honestly more important than any kind of coding skill u can test for in an interview.
5
u/KagakuNinja Mar 01 '17
Fizzbuzz is just a modern bozo filter. It is surprising how many people cannot solve such simple problems. The issue we are debating are the more difficult "coding challenges" that take 20+ minutes to solve.
→ More replies (3)3
u/yogthos Mar 02 '17
Here's a bit of perspective from the other side of the fence. I'm responsible for conducting the interviews, and it's a tricky process.
One of the problems is that solving puzzles on the whiteboard is a very different skill from building and maintaining large pieces software.
Some people are good at solving puzzles, but not at writing maintainable code. Also, the same kinds of people who are good at puzzles often like to write clever code that's hard to maintain.
I try to conduct the interview like a pair programming session. I give the candidate a problem and try to come up with a solution together. I want to see if I can understand their thought process, and when I give hints I want to see that they can understand me. I generally don't care whether the candidate can solve the problems or not, but rather want to see if they approach them with a proper mindset.
However, you can get only so much out of this exercise. So, while it might feel unfair, if somebody has open source projects it's a huge factor. I can immediately see the style of code they're writing in practice, that they're able to get things done, have interest in coding outside work. These are all desirable qualities in a potential developer.
At the end of the day hiring a developer is an important decision with long term repercussions. The more information I have available to me, the more confident I am whether the person will be a good fit or not.
As far as coding projects go, I definitely prefer that if I was getting interviewed. A few of my friends got that kind of interview, and it's a lot less stressful. The project will typically take a day or so to do, and you're probably going to spend more time cramming for the whiteboard interview anyways. The advantage of a coding project is that it's directly related to something you'll be working on, and you can do it on your on time.
11
u/GhostBond Mar 01 '17
One common suggestion is to give people homework assignments, or even pay them to come in for the day and do some work. This is actually often worse along many of the axes discussed in the article; it's even harder to find the time for this, and it even more clearly rewards people who have more time.
I agree, the additional problem is that hr and recruiters will abuse the heck out of them because the cost in time to hand them out are almost nothing for them, the cost in time to you is huge. At least in person questions cost them something in time. They're getting paid and you're not, it's not entirely fair, but it does cost them something.
I've consistently found that a "take home" problem comes from recruiters and hr people who aren't actually hiring and need to send out "look like I'm busy" work to look good at their own job. In one case I brought it with me to the interview and they never asked about it, when I did at the end of the interview they told me some guy who wasn't even part of the interview process "graded" those, I should try sending it to him - obviously it was not important in any way. Another time I got a job elsewhere, and talked to another smart guy who had gone through being asked to do take home stuff etc, felt he did well, never heard back.
I got a job once after doing technical questions a long time ago, but they weren't like the "try to trick you aren't we clever" questions of today. They gave me a computer and asked me to code some basic html pages. They left me on the computer to do the job by myself, they didn't make it a performance. The job position involved coding html pages.
On a final note I don't really find the the entire discrimination angle very compelling. Neither this article, nor any of this linked, actually give any empirical evidence at all that whiteboard interviews penalize those groups more so than any other interviewing technique mentioned. In fact, it's not even clear if any interviewing technique penalizes those groups at all.
I could write a whole essay on the topic, and let me say that I hate SJW's so I'm certainly not jumping on their bandwagon because of their language.
But a whiteboard interviewing process that asks questions designed to trick you, in front of an audience, rewards a certain kind of people who facing a high risk high stress situation:
Still seem likeable
Are energized by high risk situations and not bothered by immense social tension
So:
It's a lot easier to appear likeable in front of an audience of your same background. It just is. I've no doubt that when all the interviewers were indians, indians do much better.
Men are far more likely than women to be energized by high visibility high risk (while ignoring social tension) situations than women.
Despite the criticisms, whiteboard tests administered reasonably really aren't so bad
There's a difference between "algorithm interviews" vs "white board interviews".
On whiteboard interviews, I find it absurd. I code in an IDE with an internet connection, and it is not difficult for a company to provide that for interviews (or I can bring in my own laptop which I would prefer as I'm already familiar with how it's set up).
On the topic of algorithm interviews, I rarely find them administered "reasonably". I watched an episode of The Office where michael scott tries to get a raise, so he reads wikipedia on interview tactics and tries to do them. They're all based on keeping your opponent off balance, and demonstrating dominance over your situation. So he'd try to do things like:
Wait for the other person to speak first
Change the interview location at the last minute to keep the other person off balance
Change the chairs they usually sit in to keep them off balance
Leave the room in the middle of the meeting with no explanation
Etc
Whiteboard interviews seem to be set up to do the same thing, with the same motivations of keeping your opponent (the person being interviewed) uncomfortable and off balance.
Programmers code in an IDE -> Let's make them code on a whiteboard to keep them off balance
Programmers use google -> Let's make them code without the internet to keep them off balance
Programmers typically write code alone, if they review or discuss code it's after they've written it alone -> Let's have them code in front of a bunch of people to keep them off balance, even better we'll tell them to "explain their thought process" every step of the way - that will really keep them off balance
Web devs typically write fairly simple java code combined with html and sql -> Let's make them do complicated algorithms to keep them off balance
This is the definition of hazing:
Hazing (referred to as ragging in South Asia) is the practice of rituals, challenges, and other activities involving harassment, abuse or humiliation used as a way of initiating a person into a group including a new fraternity, sorority, team, or club.
If you're looking for a technical source that it doesn't make a difference, what google said is close:
http://www.nytimes.com/2013/06/20/business/in-head-hunting-big-data-may-not-be-such-a-big-deal.htmlOn the hiring side, we found that brainteasers are a complete waste of time. How many golf balls can you fit into an airplane? How many gas stations in Manhattan? A complete waste of time. They don’t predict anything. They serve primarily to make the interviewer feel smart. Instead, what works well are structured behavioral interviews, where you have a consistent rubric for how you assess people, rather than having each interviewer just make stuff up.
9
u/NoMoreNicksLeft Mar 01 '17
They're reasonably objective. The problem to be asked can be shared among people in a company before hand.
They seem that way, don't they? Either a person can figure out your problem, or they can't. (Some problems are even non-binary, allowing you some sort of score!)
But they're not objective, not in the way that you mean. All they are really is a way of checking if your applicant belongs to a group who have discovered the problem and shared enough metadata about it to let them contrive a "solution" later.
Some of these applicants discover the solutions in college compsci programs, at least the non-flunkies who did the homework. Others discover it through ten zillion blog posts... but maybe only a few of those read long enough to gather the information with which to formulate the solution later. Others yet will buy books and courses to cram with, where they're given a hundred of the most popular problems and practice (good if they can't easily absorb the key points through a 10 minute read of that wordpress article).
None of these applicants are necessarily clever or bright. But they sure do seem like it. They jump through all of your hoops.
There's another component to this... fraternal organizations have long performed bonding rituals where the new member is tormented. You actually feel closer to him after he's let you haze him. Sure, you can't do any Skull and Bones rites here with testicle-paddling or whatever, but mental torment is enough. If he suffers through, you feel closer, and if he doesn't, you get to feel superior.
And if anyone complains too harshly, well... what does he know? He's unemployed. Obviously his arguments are bad, if he was so smart someone would have hired him, right?
→ More replies (1)15
u/quicknir Mar 01 '17
It's not that hard to ask a problem that's relatively unlike to map exactly to something they saw in undergrad. There's a practically infinite number of subtly different algorithms problems. And if they are good at algorithms problems because they read a lot of blog posts, great, good for them! They'll shine in that part of the interview. Then we'll see how they do on other parts.
It's pretty easy to ask a problem that most people won't know the answer to already, but could easily solve with some good problem solving skills, CS knowledge, and intuition. All valuable skills for a candidate to have. I'm not sure why this is hard for you to accept.
10
u/rootbeer_racinette Mar 01 '17 edited Mar 01 '17
Why don't you name a couple?
From my experience they all follow a handful of tropes. Recursive evaluation, hash, heap sort, trie, etc.
I've seen many times over now that someone who can effectively use a debugger is 10x more valuable than someone who can write a trie.
→ More replies (30)7
u/NoMoreNicksLeft Mar 01 '17
It's not that hard to ask a problem
It is difficult. It's difficult to find new interesting problems, at least of the sort that are minimally tractable.
This is why there's so much use of the same interview problems. If it were easy, you'd come up with an entirely original problem every time. (But that wouldn't work either... you'd not have the answer.)
Forgive this poor article (I found a better one just weeks ago in the American Mathematical Monthly journal, but even if I could find it again, not sure how to link to it:
http://io9.gizmodo.com/5848752/how-to-solve-jewish-math-problems
The people who were failing these problems were honest-to-god math prodigies. But they'd continue to fail them, and would be rejected for it. Until they managed to enumerate a list of such problems, solve them, and once knowledge of the sorts of solutions that were needed spread, these questions lost their power to exclude/reject. The people using those solutions weren't cheaters, nor were they somehow more clever after having learned the solutions.
Interviews are nothing more than a social ritual, some sort of bizarro culture that has spread in the modern world.
It's pretty easy to ask a problem that most people won't know the answer to already, but could easily solve with some good problem solving skills,
You really believe you can do that.
Even if it were true, the sort of situation you've engineered is the one where they're at their worst. Pop quiz anxiety is a brain-killer.
Ignoring that though, it's impossible to come up with such a problem where their problem-solving skills will follow your aggressive appointment schedule for Thursday. Profound, deep thought... presumably the sort that you're attempting to find, that's still going to require hours-to-days.
The last one I had was a few years ago now at this point, and they'd already decided to hire me... wasn't so much a pop quiz, but a "hey, we're running into this problem that we're not entirely sure how to solve".
It finally occurred to me about 2 days afterward.
Your interview isn't doing what you think it does. It can't.
→ More replies (1)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.
→ More replies (4)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.
→ More replies (3)2
u/virtron Mar 01 '17
My favorite interview technique would probably be to create a toy problem relevant to my domain that takes say, 1-2 hours to work through. And then pair program with the candidate at a real computer.
This is essentially what we do. It's worked very well for us and far more effectively than whiteboarding or "home" code tests. We allow any resources to be used (personal libraries, docs, searches, stack overflow, etc.) and completion of the "project" is not a requirement so we can timebox it. We also let candidates know what they are in for (but not the requirements of the mini-project). It's amazing how differently candidates approach things when you tell them: "We're not here to trick you or show how smart we are. We want you to succeed." You learn a lot about how developers approach problems, deal with uncertainty and respond to ambiguity.
2
u/SikhGamer Mar 01 '17
Great post/analysis.
My favorite interview technique would probably be to create a toy problem relevant to my domain that takes say, 1-2 hours to work through. And then pair program with the candidate at a real computer. This has issues too though; it's way more effort to put together, if the candidate doesn't have experience in the specific language(s) you put the test together in, they're boned, etc.
This! So much, this! A pair programming interview will kill all the birds with one stone.
2
u/reckoner23 Mar 01 '17
A few interviews ago, this developer had me code something outrageously complex in 1 hour. He didn't look at my coding style, or what API calls/utilities I was doing. He didn't even ask me what my thought process was. He just wanted to see a finalized result.
I have no proof, but I feel like he was able to complete it in one hour on his own by importing a library of some sort and showing it to his higher ups.
Either way, I dodged a bullet. But it is a shame that one spoiled nut can ruin an otherwise decent opportunity.
2
u/cyanydeez Mar 01 '17
why not just create a crudely generic programming test someone can comeine for an hour and complete? Isnt the issue that trying to cut the mustard when it comes to logic just an issue of demondtrating logical competency?
1
u/andrewsmd87 Mar 01 '17
On the discrimination thing, I've never once came across anyone in the IT world in my 8 years in it. Not saying they aren't out there but I live in the Midwest so I'm in a prime position to have been around one.
That being said, I was a hiring consultant off and one for about 4 years so I had maybe interviewed 60 or so people and only one of them was female. Not trying to say anything one way or the other as to why, but you can't hire women if they were never applying.
1
u/kamatsu Mar 01 '17
And arguably this is even less objective and gives more leeway to the interviewer to simply give the pass to people they gets along with
TBH I have no problem with that. I would want to get along with my coworker too. No matter how brilliantly a candidate did in some test, personal characteristics like whether or not I can stand to spend time with them are more important.
→ More replies (9)1
u/bubuopapa Mar 02 '17
There are no alternatives. This problem is one of the questions of life, the fight between good and evil. How can you know that you can trust anyone ? Look at the government, how many corrupted and greedy fucks are there, and they keep sucking your life and money, and you just sit there and do nothing.
There is no real telling who is who, you have to choose who you will trust in this world on your own.
There is only a single solution to all this mess, and it requires a complete wipe of current world and rebuilding everything from the start, because trying to solve everything by just treating a single symptom is like giving a hot tea to a person with aids, cancer, ebola and zika in one.
And there is not enough time to do everything by yourself, so there is that.
And even if company is looking for a good programmer, it doesnt mean that he will trust them back, there are many companies that do shitty business using shitty practices.
65
u/peatoast Mar 01 '17
I've interviewed people and gave them white board questions... usually they get it wrong and that's fine. What I am really looking for is how they approach the problem and not whether they wrote the correct answer or not.
14
u/phurtive Mar 01 '17
I never require people to do whiteboard crap. If you want to test problem solving, better to do it how you would on the job: verbally collaborate.
49
→ More replies (19)4
u/devraj7 Mar 01 '17
What's crap about the white board? You think a piece of paper is better?
8
u/gyroda Mar 01 '17
Well,for my handwriting, yes. I can't write on a whiteboard to save my life,much less a wall mounted one.
→ More replies (1)1
u/d_wilson123 Mar 01 '17
I feel like people really don't understand the purpose of the whiteboard. If you don't know how to open a buffered IO stream in Java off the top of your head that is fine. I'll accept "open a file" as an answer. But I intentionally give questions that require you to clarify requirements and require you to reason through. I feel like many people who fail the whiteboard interview just simply don't understand the purpose. It isn't a test on your syntax knowledge or reciting off a well known algorithm. It is to test your capacity for reason.
→ More replies (1)
60
u/romanows Mar 01 '17 edited Mar 27 '24
[Removed due to Reddit API pricing changes]
9
u/QuestionsEverythang Mar 01 '17
Yeah, having syntax errors when whiteboarding is a pointless thing to care about in the grand scheme of an interview. Such errors are IRL compile-time errors and are caught before your code even runs. If you're using an IDE, it's caught before you even compile.
2
Mar 01 '17
I once had to write C code on my Computer Science exams. The struggle is real with screwing up semi colons or function names. Generally the teacher though wouldn't dock you points for minor mistakes like that so long as I guess it appeared to him that you would have gotten the right answer having been able to look up the function name.
2
79
u/rotinom Mar 01 '17
As someone one who interviews at a "big 4 company" and am talking about this on my own, the whiteboard interview has tons of discretion. I don't care that you remember every function. I'm an ex-c++ programmer writing Java which is close enough but not quite what I'm used to (I miss pointers. Aside). I did my interview in python which nobody knew and is basically pseudocode anyway.
In other words, I can and have recommended to hire people who have written incoherent code, because they have been able to express their intent and thought processes even though a compiler would puke on them.
Write in near pseudo code for all I care. I care about:
1.) Complexity. O(n!) Is bad. Ok? 2.) Coherence. Self awareness. If you are making a trade off. Acknowledge it. Saying "this feels dirty" or "this is X kind of problem" is fantastic. It shows breadth if knowledge. Scope. Saying "I don't know" is expected at a top outfit. We don't want know it Allstate. We want people who can learn and grow. 3.) nerves are the big killer. Don't just stand there. Talk it through. Most interviewers know its gruelling. You get penalised for not being thoughtful and self aware. Saying IDGAF is a deal killer. We want you to talk through your thoughts. We can and will guide you. We want you to care and think about edge cases. Be thorough.
White boards are just a tool to see how you may behave in the real world. Giving a "take home project" is a non starter because PEOPLE CHEAT. This is more prevalent in non-western cultures but very much a problem. Then they show up and are overwhelmed because they cannot keep up with the pace. It's a lose-lose situation.
I'm not saying that the white board situation is ideal, but it's a compromise that works "ok".
4
→ More replies (42)5
Mar 01 '17
Giving a "take home project" is a non starter because PEOPLE CHEAT.
Honestly, it shouldn't be so specific that they do cheat. I remember when I interviewed for ThoughtWorks, the project assignment was, using any one of the three languages (my choice), select one of projects and create it without any 3rd party libraries other than for testing. It gave specifics of what it should accept and it what it should return, everything else was up to me.
25
u/theamk2 Mar 01 '17
I don't follow. When /u/rotinom says "people cheat", he likely means that people either convince friends or pay strangers to solve the problem for them. A cheater, for example, would pay $100 to someone at codementor to do the project assignment and explain the solution. They will then repeat the explanation to you when you ask them about the solution.
There is really no good way to protect from these kinds of things.
→ More replies (3)6
Mar 01 '17
I once interviewed a candidate that I swore that is what they did. I couldn't prove it but the amount of comments explaining every line and what was going on I thought was way over the top and something a normal person wouldn't do. I ended up removing the comments from the code and opening it up on my computer during the interview in order to have her walk me through it.
30
u/lifeson106 Mar 01 '17
Maybe I'm in the minority, but I think having a candidate write some code on a whiteboard is just about the best test we can give them that will show if they understand what they're talking about or if they've just memorized a bunch of stuff they don't actually know how to use in practice. A coding test doesn't tell us much about design, good habits, project management or how they are to work with, which are all important things to consider, but I think it does a good job showing problem solving skills, knowledge of the programming language, ability to find bugs and fix them, attention to detail, communication, personality, etc.
A coding test helps the interviewers see your thought process and how you approach a problem. If the interviewers didn't give you enough information, did you ask for clarification? Did you communicate that you made an assumption that might be invalid or did you just do it? These types of things might be red flags because communication is just as important as coding ability or project management. Nobody wants to perform a code review only to realize their coworker solved the entirely wrong problem because they didn't understand and didn't seek clarification or request some help.
Even if you don't have strong technical skills (in the eyes of your interviewers), don't stress so much about it and use the opportunity to show your interviewers all you have to offer. Ask questions, ask for help, say you would just Google how to do something if that's what you would really do. Sometimes that's a perfectly acceptable answer if you ask me.
6
u/DuneBug Mar 01 '17
I question why developers want to use whiteboards for interviews instead of a computer. Is it that difficult to have a laptop available with something like notepad? Any number of screen-sharing options from webex to outputting to a projector is available. I personally hate writing on whiteboards. And if I want to convert some code to a function what do I do... Physically erase and rewrite? Only plebeians have to do such things!
The issue i think people have with coding tests is each interview is different. If every shop asked how to write quicksort then we would all know how to write quicksort. But not every shop asks that; Every developer has some "clever" interview question they like to ask and most of them are shit. So you go into an interview for a position you know you can do then someone asks you something like this: http://www.ardendertat.com/2011/11/03/programming-interview-questions-13-median-of-integer-stream/
You come up with the O(n2) solution but oddly enough can't come up with the O(log n) solution within 30 minutes and leave the interview feeling incompetent and stupid. Software developers generally suffer from thinking they're all phonies (https://www.hanselman.com/blog/ImAPhonyAreYou.aspx) and then they fail an interview and feel even worse. This is the cause of the hatred of "whiteboard" interviews.
On the other hand we've all hired or worked with that guy who said "Ok I was able to do this for the first item in a list, and then i copy-pasted the code for the 2nd... How do I do it for every item in the list?" Which should produce an immediate facepalm and is the reason interviews are so stressful. We all want to be damned sure we don't hire the guy that can't write a loop.
2
u/JackHasaKeyboard Mar 02 '17
I think the problem they're taking is that it puts them on the spot and judges them based on inconsequential factoids.
So they don't know how to find the length of a string, the inherent amount of inconvenience that causes is how long it takes to look it up on Google.
Showing you have an understanding and appreciation of what you're being interviewed on is good and it can be likely exemplified by the fact that you know how to do something but it can be dumb and unfair. I think "tunnelvision" is the word.
3
u/need-some-sleep Mar 01 '17 edited Mar 02 '17
What will happen in the real world is that a lot of very good candidates will just fail hard due to the pressure of problem solving under high stress in front of other people. If you ask someone to solve this in an empty room for a few hours that's another question.
6
u/forsubbingonly Mar 01 '17
Candidate a took a few hours and required a perfect environment. Candidate b could talk to unfamiliar people and solve the problem in 45 minutes. Candidate a is shit tier compared to candidate b. Objectively.
→ More replies (1)0
Mar 01 '17
[deleted]
→ More replies (1)5
u/zifnabxar Mar 01 '17
What in the world does the SJW strawman have to do with this?
11
u/D3gr33 Mar 01 '17
I normally think that people are being ridiculous when they call things "SJW nonsense", but a lot of this really is closely related to social justice. The idea that we shouldn't have whiteboarding problems anymore because it's discriminatory against women is absolutely social justice rhetoric.
21
u/EntroperZero Mar 01 '17
I don't get it. I'm an introvert, and a shy person (not the same thing, but they can coexist). I don't cram for interviews. And of course I get nervous. But somehow I manage to do well and get plenty of offers.
I don't find it difficult to recall basic algorithms I learned in college, even though it was over 10 years ago. Could I produce a perfect quicksort implementation on a whiteboard with no "um"s and "ah"s, of course not. But that's not what whiteboarding in an interview is about anyway, it's about showing your ability to think through a problem. In fact, if you talk your way through it with the interviewer, you're probably doing better than someone who just writes down a perfect solution immediately, because they're only showing that they obviously crammed.
All I see in this series of tweets (from some names I highly respect) are a bunch of strawmen. That's okay, I'm sure I could find a worse set of 140 characters in the history of things I've said, but I'm not jumping on the wagon. Interviewing does suck, we should be trying to do better, but whatever we do, it is always going to involve putting people on the spot in front of strangers. And it should involve expecting those people to demonstrate some technical skill.
So what are you doing about it, in your workplace? What changes have you made or discussed regarding your interviewing process? Honest question, from someone who will probably be interviewing candidates this year.
→ More replies (5)
44
u/AmalgamDragon Mar 01 '17
It would be nice if the industry would stop conflating 'not enough people who can perform at whiteboard coding' with a 'shortage of qualified software developers'. Companies are only having trouble hiring because they've made it hard for themselves by not interviewing in a manner that is actually relevant to the job. They can only do this because there is actually a surplus of qualified software developers, so they are able to very picky with each hire.
15
Mar 01 '17
That and thinking they can get someone with 20 years of experience for less than six figures
→ More replies (4)58
u/rootbeer_racinette Mar 01 '17
Working at Goldman Sachs taught me a valuable lesson.
When it came time for peer performance reviews, the traders and salesmen all gave each other perfect 10s. The tech staff all rated each other with honest and stupid 6s and 7s.
Tech people are the dumbest smart people in the world. They act like crabs in a bucket dragging each other down.
You only hire "the best"?!?! That's great until YOU want to get a new job and face the same idiotic whiteboard hazing you dished out. Suddenly your mobility is severely restricted and only gets worse as you get older.
It's fucking stupid.
21
u/JHunz Mar 01 '17
If they were getting away with perfect 10 across-the-board peer reviews, that's just bad management.
14
u/The_yulaow Mar 01 '17
I bet managers gave 10 peer reviews themselves, so no bad managing at all found after investigation. /s
→ More replies (1)9
u/roodammy44 Mar 01 '17
Unless the managers were also getting perfect 10s from their subordinates.
Why rock the boat if you are a manager in that situation? Most corporations have a dysfunctional culture - just look at how stack ranking is still around.
11
u/sxc1212 Mar 01 '17
Golden quote from /u/michaelochurch
Here's something that surprised me. Programmers aren't known for being socially skilled, so if you're a 3 for social skills, you might be a 5 on the programmer scale. Seems appealing, right? You've finally found your tribe: other nerds. Well, no.
In school, we think in terms of competition: it's way harder to distinguish yourself at Harvard than an average college, you're competing for grades against smarter kids in advanced physics classes than in pre-banker classes, and so on. Ok, but adulthood changes that. The fact that programmers are a fucking socially inept group hurts you every fucking day in most jobs. It's not about competition. It's about whether the people around you can and will protect you. Programmers are the easiest group in the world to run divide-and-conquer tactics against.
Programmers sell each other out to management over the stupidest shit, while junior bankers and lawyers protect each other and give each other glowing reviews no matter what. The result is that the bankers and lawyers get treated like adults, and programmers get treated like children, with embarrassing open-plan layouts and insulting micromanagement in the name of Agile/Scr(ot)um. The result of all of this is a macho-subordinate culture that's absolutely sickening.
5
u/oldsecondhand Mar 01 '17
When it came time for peer performance reviews, the traders and salesmen all gave each other perfect 10s. The tech staff all rated each other with honest and stupid 6s and 7s.
You just have to grade on a curve.
→ More replies (1)3
u/JoCoMoBo Mar 01 '17
No, those were just dumb tech staff. Last time we had peer performance reviews everyone (including the tech staff) gave themselves 10/10. The CEO had to send out an email banning people from giving each other more than 8 unless it was very needed.
9
u/tetroxid Mar 01 '17
The CEO had to send out an email banning people from giving each other more than 8
Yes that totally solves the problem. Now everyone gives everyone else 8s.
→ More replies (1)3
8
u/hu6Bi5To Mar 01 '17
It's true at every level of the software industry hierarchy.
The very top-of-the-tree gets 10-times as many applicants as they need to hire, so can afford to be picky (e.g. Google).
The next-level of Google wannabees don't, but they don't want to be seen to be a soft touch by having an easier recruitment process. But they don't have the same reputation, so struggle to find enough candidates in the first place, let alone after going through the horrendous interviewing process. So they complain about a "skill shortage".
But, at the bottom of the tree, the random "we just need a coder to do what they're told" places, those that have "Can you spell Java?" as their one and only filter. They still struggle to hire anybody due to the fact that everyone else has been hired by places with some kind of standards, because developers have become aware that they'll be judged by their "pedigree" for decades to come.
The fact that "pedigree" has become a thing is a worse trend in the software industry. There are some companies, who'll go nameless, but odds are unless you're a .NET developer you'll use their products directly or indirectly at some place in your software stack, who have difference career paths of ex-Googlers than everyone else. There could be two developers, joined at the same time, one from Google one from somewhere else; ten years later (in the unlikely event they're both still working there) the ex-Googler will be earning more with more perks regardless of the performance of the pair in the interim period.
22
u/phurtive Mar 01 '17
In my experience, most of the programmers in silicon valley suck pretty hard, but if they are able to memorize a couple sort algorithms they have a better chance of landing a job at Whiteboard Corp. than me.
0
Mar 01 '17
[deleted]
5
u/sneakpeekbot Mar 01 '17
Here's a sneak peek of /r/cscareerquestions using the top posts of the year!
#1: No, Palantir. Your internships are not worth 5 months, 8 interviews, dozens of emails, a flight to New York, and a drive down to Palo Alto. Get over yourself before you drain the company of all its tech talent.
#2: For the love of god please stop Peeing in the talent pool!
#3: I don't want to be a rockstar coder. When 5PM hits, I want to go home, and not think of a single line of code. Is that too much to ask for?I'm a bot, beep boop | Downvote to remove | Contact ^^me | ^^Info | ^^Opt-out
0
Mar 01 '17
[deleted]
5
u/FlyingRhenquest Mar 01 '17
Oh no kidding! I've never seen a company coding at the level of the questions in their interviews. It's like their programmers do nothing other than sit around coming up with interview questions all day!
I've worked at companies with 8+ hour interviews and companies where I just chit-chatted with a team lead for 20 minutes. There was no appreciable difference in the quality of the code between any of those companies. The ones with the 8+ hour interviews were usually less fun to work for. It's actually one of the things I use to screen out companies I don't want to work for, now. I also look for Dilbert cartoons posted on cube walls, to get a feel for the approximate level of dysfunction in the company and what types of dysfunction they have. And I will usually wait until they have me back in the inner sanctum and then ask to use the restroom, just to see the state of the restrooms that their actual employees use. I'm pretty sure that the worst companies that I've worked for were actually violating some labor laws with the condition of their restrooms.
0
Mar 01 '17
[deleted]
2
2
Mar 02 '17
I reversed a linked list on a whiteboard in 1996. I believe the whiteboard interview goes back decades.
14
u/Keganator Mar 01 '17
Software engineer and hiring manager here.
I've hired or been on the hiring committee for about four dozen people at my current company over the last decade. This involved at least a hundred in person interviews, hundreds of phone interviews, and reading thousands of resumes. Like just about everything in life, hiring is more complex than it seems. Same goes for hiring questions. The purpose of the interview is to mitigate risk from the hire, not get you a job. Unfortunately, many hiring managers don't understand this and screw it up by asking not very useful questions. This comes from inexperience; I've done it too.
Discussing, designing and implementing something on a whiteboard or other large writing surface is what I do with my team all the time. Having a candidate coherently share their ideas in a meaningful and quick way is a great way to determine if they will be able to contribute to more complex discussions in the future. If a candidate can't get up in front of my team during an interview and speak, they're a risk. If the candidate can't articulate an idea in front my team during an interview, it's a risk. If the candidate can't do it in a concise way, that's a risk. Being able to talk at a whiteboard demonstrates communication skills needed for everyday work.
One kind of whiteboard question is the implementation of an algorithm; writing code. Good questions explain the key requirements of the algorithm or have simple algorithms that allow a candidate to demonstrate knowledge of certain core concepts. These cannot be meaningfully explored in a candidate without some kind of technical test and would be waste of time to implement a complete application to do these kinds of tasks. A good whiteboard coding challenge explains everything that needs to happen in the description without explicitly revealing the technical skill under test. Good questions involve high level concepts like indirection or recursion, others include explaining algorithms and data structures used by the product for implementation. Bad ones involve rote memorization of language features or technology stacks.
Other kinds of whiteboard questions are component design problems. These take a step up from code specifics into specific areas, like class design, database design, and the like. These provide strong indicators to me about the candidate's experience in designing components of a system. Good candidates can easily spit out a basic structure of how they'd build that component, or table layout, or which frameworks or libraries they'd use and how it'd all connect together. These tell me if the candidate can think in general terms about how to solve a problem and give me their starting point. It allows for discussion and probing to see how wide and deep the candidate can go.
Another kind of whiteboard question is the system design problem. These problems also use the whiteboard, but go even higher than the component level. These kinds of questions demonstrate the candidate's ability to think through a problem from start to finish. I ask these of basically all my candidates. The best ones, even those with little experience, can form meaningful and understandable answers.
The three of these areas give candidates a lot of opportunity to succeed. The trend, however, has been that candidates who fail in the low level discussions often fail at the component level and high level as well. I've hired candidates that didn't do as well on those whiteboard coding challenges. Candidates who solve the whiteboard challenges faster tend to do better in the long term, too.
I saw elsewhere a discussion on "what did you do in the past" kinds of questions. I like these, too, but not for technical knowledge and experience. These give me culture, behavior, and maybe some information about technologies the candidate used. They don't tell me if they really understand programming. To do that, I need the candidate to design something, which means using a whiteboard.
3
u/DeathRebirth Mar 01 '17
I agree with you, but I am not a fan of white board tests where the code syntax is examined. For me it's more an opportunity to display knowledge of the coding abstractions needed for the problem at hand, but a horrible tool to indicate how the person will actually write his/her code.
→ More replies (2)
5
u/gingenhagen Mar 01 '17
Here's a simple heuristic i use for whether or not the interview process is broken. Imagine the candidate came back next week and we gave them the exact same interview. How different would your evaluation be?
1
u/jimmyco2008 Aug 22 '17
Just to be clear... presumably he would have looked up the best way to solve presumably simple problems like "find the next 5 prime numbers", and then pass the second time?
2
u/gingenhagen Aug 23 '17
Yes, so if the whole of your hiring decision is based on "can you solve simple problems", then that's a very shallow and weak interview process.
23
u/Kinglink Mar 01 '17 edited Mar 01 '17
Whiteboards DISCRIMINATE? Come on. Somehow whiteboards are now racist and sexist, and classist, and so on.
No fuck it, I'm sorry, if you're not good at white board problems that's not discrimination.
In reality the articles says they discriminate against people who say "I don't have time to get good at them". You do realize you're applying for a job, where you're going to be working 40 hour weeks and likely more. If you can't find the time to prepare for your interview, you're REALLY not ready for a job in this field (Sad but true). If you want to have a 9-5 job where you can punch a clock, there's many opportunities for that, but sadly this isn't the field for it. You're going to expected to do 60 hours at some point if not always. (Again I don't like this, but this is the fact we all probably understand)
But then again they use this line. "This means companies tend to favor recent computer science grads from top-tier schools who have had time to cram; in other words, it doesn’t help diversify the field with women, older people, and people of color." sorry the bullshit meter went off again.
I'm against whiteboard interviews as the primary means of testing people, I know I've failed tests because of them (or I didn't use the right keyword someone was looking for) but the fact is interviewing for programmers are hard on both sides of the table. However Whiteboard reviews might be the most eglitarian option. compared to a few I've taken.
Try being forced to use an IDE, especially one that's not Visual Studio (I'm in the game industry, it's a standard but apply the same to your favorite IDE, imagine using VI, or if you like VI, imagine using emacs, or visual studio. or not using visual assist, that one change would hurt me I know.), or using a different development process than you're used to (A major company once made me write my code using MAKE, I've never done that. I'm a video game programmer and they knew it, I had to spend almost 2 hours figuring out how to do that. and only an hour writing the code. It wasn't a timed test but I had better shit to do... oh and then they told me my code didn't compile... and then they told me it did.
PS. The real secret that people seem to not know when they bitch about this, is the point of a whiteboard isn't always to get it right. It's more to see the process you use to solve a problem or how well you think on your feet. It's not to "debug" it's not the get the best code, it's to see how you deal with feedback and look at your code when problems arise.
PSS. Also the white board is to prove you have a brain in your head and can write something from scratch. It's not going to reject you flat out as I said above, but it's also to show you aren't BSing the team the whole time. The fact is (And talk to hiring managers about this) A LOT of people BS studios, and a LOT of HR people can't tell. Simple fact.
0
22
Mar 01 '17
The whole thing is assuming that the interviewer is going to get hung up on you not remembering the exact syntax details of something as trivial as getting the length of a Python script. I'm sure some of them will, and I've had people fail me in interviews for stupider things, but that's not what such tests are supposed to be about. More importantly you just need to know the one trick we all learned back in college in France, where we had lots of oral exams.
You just ask the interviewer.
"Huh I'm having a brain fart, what's the syntax for string length again? Oh right."
It works 99% of the time, and if they give you shit for that, you probably don't want to work there anyway.
Also, fuck the implied feminism in the question.
4
Mar 01 '17
Any discrimination I've seen while being a software developer has been for women instead of against them. As in, developers who consistently spit out spaghetti garbage a CS major freshman could code better, but aren't fired because they're female.
63
Mar 01 '17
These articles always read between the lines like "I never really studied CS or any relevant computer science subject before, but I took a 1-month PHP/JavaScript course in Coursera and have been working as a code-monkey for 5 years. I SHOULD work at Google, else you are a sexist/racist/discriminatory person!"
18
5
u/absentmindedjwc Mar 01 '17
Except, you know, the article is based on a series of tweets by people at the top of their careers, which was started by someone that built a framework used by a fairly decent percentage of enterprise web applications.
But other than those people, sure, an article about people that "never really studied CS or any relevant computer science subject before".. definitely.
→ More replies (4)5
u/phurtive Mar 01 '17
I would hire someone who worked as a code monkey for 5 years over a CS grad ANY DAY. And twice on Sunday.
Especially self-taught? That's some serious drive you don't find in CS grads.
5
u/Mikeavelli Mar 02 '17 edited Mar 02 '17
Eh, I was self-taught for years. Going back to get a degree (especially the algorithms course!) improved the quality of code I'm able to write immensely.
There's also a lot of stuff you either don't learn, or learn wrong when you're self-taught. Preferring that over someone with a degree might make you pick out a handful of superstars, but you'll pick up a whole lot of mess along the way.
2
u/Anewuserappeared Mar 01 '17
Be honest though, you aren't in a management position, are you?
→ More replies (2)2
u/toomanybeersies Mar 01 '17
I've met a few self-taught and/or bootcamp graduate "developers", who are practically useless, they understand the language, but don't understand any of the actual underlying concepts, or how to write actual good code.
Often it's not their fault, they just don't know what to learn.
→ More replies (1)0
14
u/123csthrowaway Mar 01 '17
I haven't read the article closely as it seems to be another rant at the "broken" interview process. But I'd say for me personally, I enjoy whiteboard coding more than doing a phone screen with coderpad or whatever online editor.
Why? I find it difficult to talk and think and type all at the same time. And the constraints of communicating ideas over an online page can be really really difficult. It's just a really unnatural way to discuss and talk about ideas.
At least with whiteboarding, I can quickly draw up concepts and ideas very quickly to convey my thinking without even having to write out a single line of code yet. Yes, white boarding is a skill that needs to be practiced in and of itself, but once you start doing more and more of it, you'll realize how really beneficial it is.
Most of the time, the right answer isn't the most important in a hiring decision. A lot of it boils down to how well you can communicate your thoughts and algorithmic thinking on a whiteboard. You need to really get into that communicative flow between you and the interviewer. If you have a bad interviewer, who really doesn't know how to assess your fundamental knowledge and progress as you are solving a problem, you're shit out of luck. Try again. He/she should know how to "peel" at the layers of the problem, or introduce new layers, and see how you adjust your strategy accordingly.
It takes two to tango. That's what makes coding interviews even harder than it really is. Because you can be the most experienced, most competent guy/girl in the room, but if your interviewer himself isn't skilled at interviewing, you're screwed.
Thanks for the read.
10
u/WTFwhatthehell Mar 01 '17 edited Mar 01 '17
Honestly I don't get the issue they're taking with it. Hell they talk about rote learning when that's the worst possible option.
I Google lots of shit. I've never pretended otherwise to anyone in any interview. If someone asks me to write code on paper I say " my syntax is a bit poor off tge top of my head, pseudocode ok?" I avoid rote learning code because that's a stupid stupid thing to do. So much so my first coding teacher specifically advised against it.
They challenge me to write a function to do x? I think about it for a minute, ask if I should optimise for anything then depending on the answer give some solution. chatting away while I do, maybe mentioning the steps i'd follow to search for an optimal algorithm if I had access to the net.
They're trying to make sure you have a reasonably logical problem solving process. That you don't lock up and cry if you can't think of the perfect sollution.
I've never failed a technical interview.
If the only way you can write fizz buz or find a route to a node in a graph is by rote memorizing code then the tests are succeeding if they filter you out. They're rarely hard. (the rare company that uses absurd challenges and actually rejects everyone who fails to solve a problem that would have netted someone a phd 15 years ago are shooting themselves in the foot but are basically a rounding error. Some give impossible challenges for the perfectly reasonable goal of seeing how you react when there is no easy answer. Again, logical problem solver or crying in the corner?)
9
u/nexes300 Mar 01 '17
If the only way you can write fizz buz or find a route to a node in a graph is by rote memorizing code then the tests are succeeding if they filter you out.
It sounds like they already know they're being filtered, but are enraged and absolutely convinced they could do the job. I am honestly confused at what these people do all day if they literally never need to write an algorithm. Are they just getting all the boiler plate work and someone else taking the hard work? I don't really understand how anyone gainfully employed as a programmer can say that.
Especially if you get really meta and consider the program as a whole a sort of algorithm....
→ More replies (1)→ More replies (20)2
u/allThatSalad Mar 01 '17
I've failed many technical interviews but never suffered from poor performance at a job in over twenty years. If I am given a problem in a white board interview and I don't already know how to solve it I usually fail. My solution to this is to memorize solutions to classes of these problems and then hopefully I can reduce any new problem to something I already know.
I am the example of the false negative. I also don't know of an alternative, but I hate the whiteboard ritual.
Also, the white board advocates state that it is the simplest method with the fewest false positives, but I believe they are missing something important. White board interview positively select for characteristics that are bad for business. Specifically, the "not invented here" mindset. People who are very confident in their ability to code solutions are less likely to use building blocks made by others. I think that's why you see so much reinventing the wheel done by companies where they do lots of white board interviewing.
→ More replies (2)
11
u/devraj7 Mar 01 '17
<sigh>
Here we go again.
The problem is not the whiteboard interview, it's what you ask the candidate to write on that board.
If a company asks you to regurgitate code, run away. But in my experience, very few do. The interviewer asks you a problem and is open to creative ways of solving that problem. And they expect you to think out loud on how you go about solving that problem.
Ultimately, whether you solve it or not is irrelevant, what matters is what you said as you were coming up with the solution.
1
6
3
u/kuglimon Mar 01 '17
"I don't know x so i google it", well shit, you're already better than the average lot. They'll loop a list to get it's size, just so they won't have to Google.
3
u/Poddster Mar 01 '17
At the end of the article:
“After drawing on data from thousands of technical interviews, it’s become clear to us that technical interviewing is a process whose results are nondeterministic and often arbitrary,” she wrote. “We believe that technical interviewing is a broken process for everyone but that the flaws within the system hit underrepresented groups the hardest.”
Almost all job-interviewing is non-deterministic. For a given job plenty of people will apply and most of those applicants can do the job to the standard the company wants. You can filter this based on "experience" and "skills" etc, but even then you end up with a bunch of similar people.
It's mostly a random pick from the top 'set' of candidates no matter the job, technical or non-technical.
3
u/elcct Mar 01 '17
"Whiteboard interview" can help filter out bad companies on the other hand.
1
u/AmalgamDragon Mar 01 '17
It's getting hard to find companies that don't do them these days.
3
u/clownpirate Mar 01 '17
And unfortunately a lot of the companies people would consider the "best" or "most prestigious" to work at do whiteboard or other data structures and algorithms hazing interviews.
If you want to limit yourself to non-tech enterprises where you are a necessary evil cost center and treated as such, then you probably don't have to worry about these kinds of interviews.
I'm sure there are better companies out there that don't do these interviews too, but I feel they are the exception.
3
u/_mainEvent Mar 01 '17
The purpose of an interview should not be to test your memory or ability to regurgitate some obscure algorithm or chunk of code that would more than likely be googled or copied from StackOverflow in a real-life scenario. The purpose of an interview should be to test your problem-solving skills and provide some insight into your thought process when coming up with a solution to a particular problem. There is typically more than one way to solve any problem, so the focus should not be on if you get the correct answer that the interviewer is looking for. You should, however, be able to back up and defend your answer with sensible logic and walk the interviewer through the steps you took in arriving at your conclusion. You shouldn't be tied to a particular programming language or framework and the question should represent an actual problem that you may be faced with while on the job - not "Invert a binary tree on this whiteboard for me while I stand behind you and watch." The interview questions should be formatted in a way that even if you were to be given access to laptop with internet access, it wouldn't help.
I've been on "technical" interviews where I was asked to explain the differences between .ToString() and Convert.ToString() and how many bytes a ‘char’ data type occupies vs an ‘nchar’. I think most would agree this is hardly a valid test of a person’s skill level or ability to perform successfully on the job.
3
Mar 01 '17 edited Mar 01 '17
I find these type of interviews quite useful in identifying a place I would never want to work anyway. It seems to me that anyone selecting this way doesnt understand a thing about the skillsets of good technical staff and it's a safe bet working there will be daily frustration with PHB/HR-driven culture and decision-making. (And yes, I know the article says google does this, so maybe they are an exception to that explanation, but they're not really an exception to my personal stance as I wouldnt want to work there either.)
Fortunately for me I've only really had one interview of this ilk and rather than doing at a whiteboard I was left in a room to type on an internet-less computer. So I looked stuff up on my phone. I was actually hoping they were monitoring me and would call me out, but they didn't.
3
u/lykwydchykyn Mar 01 '17
Programmers seem to forget a lot that we don't all do the same kind of stuff in the same kind of environment. I hear people talk on reddit all the time about what being a programmer is like as if "this is how we all do it", and it's nothing like my job situation.
If you're working somewhere where teams have to come up with algorithms and rely heavily on CS concepts, then it's appropriate to make someone whiteboard an algorithm.
If you're hiring a guy to help maintain the company's web-portal or internal CRUD applications, it's probably not the best approach.
I'm not HR guru, but it seems to be the best thing is to contemplate the actual work that will be done by the person you hire and try to test skills that are directly relevant to that. If the job is maintaining code, then contrive a piece of broken code and tell them to fix it and clean it up.
→ More replies (4)
3
u/Ryokoo Mar 01 '17
I never understood Whiteboard interviews. I've written code in over a dozen languages. Does that mean I am supposed to remember the syntax, libraries and calls for every single one of them on demand? Not going to happen.
I kind of like how my work did the interviewing. You are given an application that will compile and mostly run but has a bug, and are asked to debug and fix the bug, then add finish implementing a feature that has been started. We're able to tell alot about the people we interview - how much of the provided documentation they read, how they handle certain problems, what their code style looks like, how much they had to search on Google (we put some code up on stack overflow that "answers" a direct problem in the test for this purpose), etc and could easily separate good, bad, and ok but still learnable programmers.
Had any of us been given even the documentation then been asked to hand-code the exercise, it would take too long and none of us would be here.
I've been in interviews where the interviewer asks you how you would structure a certain problem, you write it out on the board then he sits there and lectures you about how you need to know the API when you don't get it 100% to his liking. I don't know all the APIs you use, I've barely used the language you use outside of class, give me a break.
I've also been in interviews, where I'm given a pencil and a test and asked to hand-write full applications. I ended up leaving every single one of those before even picking up the pencil.
We all forget interviews are two way streets. Youre getting to see if you like the applicant - but they also get to see if they like you. If they do not like the way you conduct interviews, it is perfectly reasonable for them to tell you so and leave.
10
u/cdsmith Mar 01 '17
This is far overstating the case. The notion that whiteboard interviews are all about memorizing answers is ridiculous. If you have the answer memorized, the question was broken. If you want to sort a list, and the interviewer makes you implement the sort, they screwed up. The point is to give you a problem that you do NOT know how to solve, and watch you figure it out. If you ask to use a well-understood component (algorithm, data structure, library...), the answer should almost always be yes. If you don't remember the details of an API, the answer should be to pick something that it MIGHT be, and proceed with that.
This isn't some unattainable ideal, either. It's how basically every interview I've ever done has worked. The one time I was asked about some language detail, I was literally being interviewed by Joshua Bloch, the author of half the books I owned about Java language quirks, and I forgot about overriding equals and hashCode for a Java value class. Oops, real beginner mistake there! Got hired for senior software engineer position anyway. Guess he didn't really care that much about language details.
I really think people are scaring themselves about this without cause. They freak themselves out imagining that the interviewer expected them to just know the answer, when that wasn't true. If the position isn't a fit, they tell themselves it must have been that they couldn't recall how to find the length of a string. It wasn't. Reminds me of when I teach in middle school, and I try so hard to find good formative assessments that exercise creative design and problem solving skills in coding; and students say "you never told us how to do that.". Answer is the same. You weren't supposed to know! You were supposed to figure out.
6
u/jl2352 Mar 01 '17
Lots of developers in teams do whiteboarding on a regular basis and it works fine. Yet two interviewers, and an interviewee, cannot. Why?
Well look at the stuff in these tweets. I'd never ask any of that shit in an interview. Yet people do and people are. It's pointless. That's the real issue here. It's doing the 'whiteboarding' session to test academic knowledge, rather than testing their ability to get 'business problems' solved.
So test them on that instead. That's the solution.
Set a real business based problem. Ideally a real problem your team has solved so you can talk about it in depth. But don't go on about how great your solution was to the problem; no one cares.
Don't set problems with a correct answer. Like "can you find the bug in this code?", "can you name us these APIs?", "how do you balance a tree?". Most business problems have good solutions vs bad ones, and trade offs. It's extremely rare a real business problem has a correct vs incorrect answer. That just doesn't happen in real life. So don't ask it.
The candidates are not there to be a performing monkey. So work with them on the whiteboard solution. This is also why I suggest a business problem so you can discuss it, and have a back and forth. If you can't work with them around a whiteboard then you ain't gonna be able to work with them in real life.
If they can do the above then they can probably program. So don't test at the level of programming. Don't get them to write code. Don't get them to spout API knowledge. But ...
At the end of the process you should hire them from an afternoon, to a week, depending on what's possible between you/them/recruiter. This gives you see first time on real coding if they are decent or not. Hiring a shit coder for an afternoon is dramatically cheaper than a bad hire.
Technical knowledge is important though. It's just you should be using it to get the work done. It clearly needs to shine through from the interviewee as they are solving a real world problem. So sometimes you may have to push for them to show you they know certain CS info. But it should be the exception rather than the norm.
Some of the best candidates I've ever interviewed have given very boring answers, where there is nothing sexy going on in their solution. Why? So they can build it in less time, build without causing a big technical mess, and get it out the door sooner. That's a great answer. Showing how to balance a tree doesn't convey that.
12
u/goomyman Mar 01 '17 edited Mar 01 '17
Really? I absolutely love white board coding.
It doesn't discriminate. You are applying for a high paying job.
Study!!!!!!!
Seriously, anyone who fails a white board interview either A) didn't study for it - hint almost everyone or B) isn't qualified or C) got unlucky with an interviewer who expects too much - it happens :( but it also happens on any interview loop for any job
Is it true that the white board questions don't match the actual job work? Yes. But you can literally google white board interview questions and have a really good idea on what to expect.
If people treated white boarding questions as a final exam at a college then its not an issue. People complain that tests are unfair for those with test anxiety or those who are just straight up bad at tests. But the benefits outweigh the bad.
edit- just read the article which says that people don't have time to study. If you don't have time to study, then you probably shouldn't change jobs. You should study for any job interview! Brush up on the companies website, update your resume, go over your "strengths and weaknesses". Jobs aren't handed to you on a platter because you tell someone you know how to do the work. You need to go out there and prove it to them!
7
u/anotheronetouse Mar 01 '17
"If you don't have time to study, then you probably shouldn't change jobs"
So if you're in a bad job because it requires too much work for little pay you should stay there because you don't have the free time to study? Also, I don't think the ability/time to study hard for an interview is indicative of how well someone will perform on the job. If anything, I would prefer to see someone's work when they have no time to study.
10
u/crusoe Mar 01 '17
The problem is hiring on whiteboard information just hires candidates good at whiteboarding. Which is different than programming.
It's like hiring a novelist based on how well they solve riddles. You'll get terrible books and good riddle solvers.
0
→ More replies (3)2
u/ch00beh Mar 01 '17
If you don't have time to study, then you probably shouldn't change jobs.
I'm iffy on this statement. I enjoy my current job so I sink tons of hours per day into it. However, if I were to change jobs, I would change jobs now, while I enjoy my current work, rather than 10 years in the future when I'd be ridiculously bored/cynical. This way I guarantee that I'm accepting a new job for the right reasons.
2
u/Zlb323 Mar 01 '17
Can we take a moment to appreciate how good the website is?
3
Mar 01 '17
It's perfectly legible and styled reasonably with noscript and requestpolicy blocking everything. It uses black text instead of myopia-gray. That's enough to make me happy.
2
2
u/Hyperian Mar 01 '17
I have and had chances at Google interviews. The phone interview with Google doc was to write malloc. Lol
And now I have a packet of interview material saying I should be able to write completely optimized and bug free code in 20 minutes on a white board on something like sorting or search algorithms.
2
u/blackmist Mar 01 '17
Knowing how to Google a problem is just as important as knowing how to solve a problem yourself. Other people have spent many years figuring out the best way to do things. Knowing if your particular requirements fit those solutions can save you a lot of time.
2
u/Adverpol Mar 01 '17
Having done several sets of interviews, only one including whiteboarding, I can say I'm also not a fan of it, unless you use it to test stress-resilience of your candidate, not coding skills.
In my whiteboard interview I was asked to write down a sorting algorithm. I did. I'm not sure what they learnt by that, maybe that I'm able to hold up under intense pressure. And that I have terrible handwriting.
In a different interview I was given some C++ code that acted as a wrapper around C alloc_object and dealloc_object functions. The code had some obvious bugs, which I pointed out, and was not written as RAII, which I also pointed out. I think this gave them a very good idea of my seniority in the language on a whole different level than a whiteboard test: does he see the basic pitfalls (i.e. does he grasp the language fundamentals), can he read code, can he formulate improvements? You know, the kind of stuff that you (only) pick up when actually using a language.
2
u/quiteamess Mar 01 '17
I love writing and discussing code on the whiteboard. But not Java or any other imperative programming language but I would rather discuss Haskell. The whiteboard interview process is not broken but the choice of programming languages is broken.
2
u/x86_64Ubuntu Mar 01 '17
I just finished an interview at a very well known company. I had to do 4 whiteboards. It kind of felt humiliating because at the last batch, I feel like I had lost my stamina, and while I knew what the key to the problem was I couldn't unfurl the solution in my mind. Very upsetting.
2
2
u/StewHax Mar 01 '17
I don't mind whiteboard interviews if they merely want my process and not actual code. For example if the say describe on the board your process for building a program to solve X problem.
2
u/dccorona Mar 01 '17
I've interviewed at 3 of the big 4 in the last 2 years, and work at (and perform interviews for) one now, and all the interviews in question were/are whiteboard interviews.
But you're right that small companies shouldn't do it that way just because the big guys do. Sometimes it makes sense and sometimes it doesn't, and often they're kidding themselves at how selective they have the luxury of being.
4
Mar 01 '17
People who cannot solve trivial problems in pseudocode without touching an IDE obviously would not be able to solve any of the more complex problems. Whiteboard interviews are essential and anyone opposing them is a saboteur.
On the other hand, cretins who ask for API or syntax details on interviews are even worse.
→ More replies (5)
4
u/phurtive Mar 01 '17
Amen!! I have 25+ years experience programming. If a company wants someone like me, they should ask me questions I would have to know for the job. I shouldn't have to study a bunch of sort algorithms and data structures I have never used, just to satisfy their ignorant interview process. I program with 20 tabs open. I don't memorize crap just in case I'll need it in 10 years.
This is the reason Google will never get me. Your loss, Google.
6
Mar 01 '17
I worked at Google for four years. I used algorithms at the interview. Three years later, I thought I found a place where I needed to use dynamic programming, but I was wrong.
The main job at Google is taking data stored in one protocol buffer and putting it into another protocol buffer -- one that's almost, but not quite, identical. Sometimes you'll get to do basic aggregations. (The secondary job is writing borgmon scripts and tests, and nobody understands them.)
Some days, I think Google could get by with a third fewer engineers if they had a federated database with SQL-ish syntax and structural typing.
5
u/boompleetz Mar 01 '17
This is not true! One time I got to write an n-ary tree... to translate one protobuf into another.
→ More replies (10)1
4
u/JoCoMoBo Mar 01 '17
My main problems with whiteboard coding in an interview:
I'm softly spoken. I'm now standing about 1 or 2 metres further away from the interviewer. I'm having to remember to speak loudly and slowly. And write code.
My handwriting isn't very clear so I'm writing in ALL CAPS to be legible. This is much slower. Now I worried the interviewer thinks I'm slow...
I'm standing up writing on a whiteboard. I'm also trying to explain my code. Which way do I face...? To the whiteboard or to the interviewer. How is my body language. More to worry about.
When coding I tend to try one or two ideas out first. Rubbing stuff and re-writing it takes time on a whiteboard.
So writing code on a whiteboard takes me away from my tools and puts my into a completely abnormal situation. When i talk to my boss about code about 80 % of the time we have an IDE open and can sketch out ideas there. The other 20 % of the time we write on paper.
Making me write code a whiteboard is the most inefficient way to watch me coding. It also adds a lot more social anxiety into a stressful situation.
2
u/Grue Mar 01 '17
Not surprised that people from the Rails ecosystem (including DHH himself) are unable to come up with a simple algorithm (note, "come up", not "remember", nobody commits algorithms to memory, you gotta be able to figure it out!). Is it any surprise that Rails is so slow and accidentally quadratic?
2
u/jms_nh Mar 01 '17
Whiteboard interviews aren't the problem; the kind of questions asked at whiteboard interviews are the problem.
2
u/coladict Mar 01 '17
If I have to go job-hunting again soon, I wouldn't be able to even recognize sorting algorithms when shown, let alone write them in psudo-code on a whiteboard. I know the practice of solving problem, not the theory of each individual problem.
1
u/kunos Mar 01 '17
For a moment I thought they were complaining about interviewing with a board of white guys.
1
1
Mar 01 '17
Surely if the person passes the interview process and the company wants that successful applicant, they know what areas of training that person needs to improve themselves and prove effective to the company
1
u/zeitgeistOfDoom Mar 02 '17
At one of the companies I worked at, the interview consisted of being given a simple, well documented, API, mine was a recipe fetching API, and building a front end for it in 90 min. It didn't have to be glamorous, but it showed basic knowledge of the framework we were working with. For backend engineers, it was the same thing, except building an API for an undocumented front end.
1
u/ablakok Mar 02 '17
I forgot what bubble sort was so I tried to implement the wrong algorithm, but it ended up being bubble sort. Seriously. I got the job.
1
u/4_teh_lulz Mar 01 '17
I am surprised by the amount of support for white boarding interviews in this thread. I always assumed most people didn't like them.
1
u/majesticsteed Mar 01 '17
I don't think the white board is the problem. In my recent interview I used a white board to draw pictures of an app I was working and talk about design shifts. I was asked to search through a tree and put all non-duplicate items into a list. I was asked how to tell the angles between the hands on a clock. All of which I would rather do on a whiteboard than in my head or on a computer.
The whiteboard is a blank canvas for SOLVING PROBLEMS. What happens is it gets treated like an exam paper instead of a tool.
1
u/cruelandusual Mar 01 '17
Why do the people who whine about this shit treat interviews like they're one-way? You should be interviewing the company as much as they're interviewing you. If someone dings you for not knowing trivia, end the interview. Whiteboard questions are supposed to be about seeing how you think, not what you've memorized.
1
1
u/clownpirate Mar 02 '17
Many of the companies considered to be the best places to work at (for various reasons) for tech use these interviews. If you want to work at one of these places, you don't have much choice other than to play the game.
There are companies that don't do data structures and algorithm questions. Again, for various reasons, many of these companies aren't exactly the best places to work for tech. Many of these companies tend to be places where tech is a second class citizenry cost centers.
If you disqualify companies for giving you these data structures and algorithms interviews, then you're disqualifying a lot of "top" companies. Then again you might not care for these kind of companies anyways, so whatever floats your boat. I know some people would rather work for an investment bank's or Big4 accounting firm's IT department than a Big4 tech company.
1
Mar 01 '17
The reason why this is broken is because there isn't a blanket definition of qualified. In every other professional career there is a required certification process. Consider these careers:
Pilot
Doctor
Teacher
Lawyer
Engineer (not software engineer)
Real Estate Agent
You have to be licensed to do any of those jobs. The licensing completely takes care of the minimum technical qualifications part so that you can focus on the candidates social skills and whether or not they are an expert.
So long as software remains unregulated interviewing will continue to suck.
1
u/reptoidsdoneit Mar 01 '17
On one hand I can see where this is coming from (not the diversity thing though, fuck that). Most of the devs I've ever worked with would struggle to write bubble sort from memory on a whiteboard, under pressure.
But there are things we should know by heart, that we should be able sketch out on a whiteboard at the drop of a hat. The problem is maybe more to do with the questions being asked, rather than the process.
Having said that, I still don't do whiteboards in interviews. If I want to know how a candidate thinks and operates, I'll give them a machine and a project.
1
u/metrogdor22 Mar 01 '17
This article states 2 things:
Whiteboard programming job interviews are bad.
I agree.
It should be stopped because it keeps women and minorities from getting the job.
I disagree. If you don't have the time to prepare for a specific interview, sorry, tough luck. Go do a different job. You wouldn't expect a company to hire a 90lb woman to work an oil drill, and it's not discrimination if they don't because she couldn't build enough muscle in time for the interview.
1
u/Crazy__Eddie Mar 01 '17
Just don't show up for an interview you expect might do a whiteboard test after a 16 hour f'n session with your brand new GF. Definitely don't do this if she lives an hour in the wrong direction from your interview that's 2 hours away.
I couldn't even reverse a linked list in place without stumbling over my dead brain cells for 20 minutes.
I have no ragrets.
355
u/[deleted] Mar 01 '17
I dunno why this is still being a discussed. Build a little dummy project with some bugs and about 90% of an improvement implemented. Ask them to fix the bug. You see their debugging abilities. Boom. Next ask them to implement a new feature. You get to watch them discover most of the code already exists, read a little bit to get the gist of what the original developer was trying to accomplish and wrap it up. That covers about 95% of the skill sets I use every day.