r/programming • • Mar 01 '17

Programmers are confessing their coding sins to protest a broken job interview process. “Whiteboard” interviews are widely hated. They also discriminate against people who are already underrepresented in the field.

https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.0k Upvotes

717 comments sorted by

View all comments

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.

0

u/[deleted] Mar 01 '17

[deleted]

→ More replies (3)

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.

→ More replies (3)