r/webdev • • Mar 01 '17

Programmers are confessing their coding sins to protest a broken job interview process

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

341 comments sorted by

View all comments

223

u/toadallyfroggincool Mar 01 '17

What interviewers should test on is the ability to find information and quickly absorb enough of it to put it into practice. Pattern recognition is also key in day to day work, as is reading code.

Knowing the basics of programming regardless of language is most important. Like creating and manipulating data structures, knowledge of OOO or functional programming or whatever paradigm the language generally uses.

I think better questions might be:

  • Here's a bubble sorting algorithm in a language you don't know, can you convert it to your language? Ex (Python to JS)

  • Here's the name for an obscure algorithm, feel free to search, can you implement it in X amount of time?

121

u/Fidodo Mar 01 '17

Yay that's what I do in the interviews I give :) I give them documentation to an API and ask them to implement a specific behavior using it. I also answer any non vague question they ask. I don't care that they know some random trivia, I want to see how they problem solve and learn. I always ask how they liked the problem at the end of the interview and everyone has liked or even enjoyed it so far ☺️

96

u/Lena89 Mar 01 '17

But admittedly it would be impossible for them to tell you they didn't like it.

18

u/Fidodo Mar 01 '17

I try my best to word it in a way where they're less afraid to give feedback. Like "I'm always trying to improve our interview process, are there any things you think we can do to improve it". I know even with that wording I probably won't get a totally truthful answer. I have gotten feedback on other things with the interview though, so I think the wording works on some level.

3

u/rondeline Mar 02 '17

This would be cruel to do...

You could say there is one unusual but fair criticism of this interview process, and if they could guess what that was, you would be really impressed and you'd have to hire them on the spot. Can they take a guess?

→ More replies (1)

45

u/Attila226 Mar 01 '17

"Your questions sucked ... did I get the job?"

10

u/Fidodo Mar 01 '17

Yeah I'm worried about that bias too. I actually word the question differently, like "I'm always trying to improve our interview process, do you have any feedback for me on how I could improve it", but yeah I'm aware I'll get a nicer answer.

10

u/[deleted] Mar 02 '17

Asking that question would make me much more likely to accept an offer from your company.

It is kind of putting people on the spot, though. Instead of expecting an answer during the interview, maybe ask for brief feedback by follow-up email, and let people know it's coming during the interview and that you'd appreciate honest answers. You'll probably get more useful answers if people have some time to reflect and figure out how to answer fairly, instead of scrambling to think of some bland BS answer on the spot that would make you happy.

6

u/Fidodo Mar 02 '17

That's a good idea, thanks

3

u/[deleted] Mar 02 '17

Thanks for being a good manager!

→ More replies (1)

4

u/MildlySerious Mar 01 '17

I would honestly love that. I didn't have to do interviews yet, but this is the sort of process where I would feel like my strengths are understood and appreciated, and will be put to good use in my potential work environment.

20

u/olcrazypete Mar 01 '17

Did an interview for a very junior sysadmin last week. Gave them a very simple problem (typo in httpd.conf that kept apache from starting). They didnt' have centos7/systemd Was 95% wanting to see if they would google the needed commands to a)find what the apache process is named on that distro b)find where it keeps logs . Took them a while but they did. Got the job.

7

u/[deleted] Mar 01 '17

Where I work we usually do some super basic stuff that anyone claiming the candidate's experience should know as a first step in the phone screen. I don't really care if they get 100% of them totally correct, but there should at least be some familiarity with most of them. I mean, stuff that the general population won't know but someone who claimed to know, for example, databases should, like "what do you do in a sql query to combine two tables". If you can't answer right-ish most of the time to a series of questions this basic involving some area in which you claim experience, you are probably lying about your experience. It seems like 30-40% of our candidates get filtered out at this step. We eventually get to questions like you're talking about, but this saves us time by quickly detecting the people who don't have any hope of answering them.

→ More replies (5)

20

u/Speedzor Mar 01 '17

These are virtually useless questions. You're not going to be bubble sorting and chances are you're not even going to care about which algorithm is used since the default libraries handle it well enough most of time.

I think it's much more pragmatic to use your interview process to find someone suitable for the daily tasks that make up 95% of the job. Someone that has knowledge of whatever it is you're working on or shows characteristics that go with it and most importantly: someone with the business in mind.

It's fine for me if a rare occurrence task that requires a custom algorithm takes much longer than a regular task -- I'm not optimizing for those 5%. People that I help interview need to show they're always thinking about the business and that they can learn what we typically work with.

15

u/entiat_blues Mar 01 '17

i think you missed the point of fixing those interview questions. implementing a basic sort from scratch isn't a day-to-day task, but adapting a solution to another domain is. so converting bubble sort from one language you don't know to one you do is a huge improvement over the original question.

now you're asking your interviewee if they can understand basic statements and flow control in another language (pick something that's not completely crazy and help them if they have a question, obviously); if they can reason about what the code they're looking at is actually doing; and if they know enough about their "native" language to put together a reasonable rough draft.

→ More replies (1)

3

u/toadallyfroggincool Mar 01 '17

Sure, I agree. I just posited those two questions as poor examples of something better than write on the whiteboard.

→ More replies (1)

4

u/cosmicsans Mar 01 '17

I did a whiteboard interview a couple months ago that wasn't bad at all. It wasn't so much code on the whiteboard as much as it was just using the whiteboard to show my thoughts and keep notes and a little pseudo code.

Trying to actually program on whiteboards is dumb, but from my experience the white board is checking to make sure you're asking the right questions, and that your thought process is where it needs to be more than you can write x algorithm in y minutes.

3

u/seiggy Mar 02 '17

Yeah, the whiteboard interviews that we conduct are all in language of your choice / pseudocode, and they're all dead simple problems that anyone with a 3rd grade education and a basic understanding of code can implement. ie: Write a method that takes in an integer value called x, and return the Factorial of said number.

Other one we use is Fibonacci, but I always give them the formula, since I realize that it may have been a while since some people have written an implementation for it. We don't even ask for a recursive version of the solution.

These are dead simple problems that any first year Comp Sci student could solve within 2 weeks of starting class. And you'd be surprised how many people flake out on it completely.

Other whiteboard exercise we use is the "Draw a bicycle in as much detail as you can from memory". Then have them describe why their bike won't function (99% of the population cannot draw a functioning bike from memory on first attempt). It's a good problem solving exercise that shows how people break down a problem they're not familiar with.

→ More replies (8)

2

u/hipstergrandpa Mar 02 '17

One of the most fun and practical interviews I had was to reverse engineer a phone. It was something I had never done but it allowed me to explore the field without pressure and to prove I can come up with a solution even if I didn't know how to do it originally. I wish more companies would do this style of application where you show a practical know how of what you're doing rather than textbook rote memorization.

1

u/uneditablepoly Mar 01 '17

Oo, that second one is a really good, comprehensive interview question. I'm stealing that.

1

u/[deleted] Mar 02 '17

Exactly. It's like an SAT question. The formulae are right there, or easily within reach. If you understand what you're looking at, all you need is time and sound mental state. Then the best candidates can be assessed on quality etc.

It's not perfect, but it's the closest you'll come to estimating "ability" without throwing them into your codebase.

1

u/Okichah Mar 02 '17

A lot of interviews i end up going on are filled with trivia questions about languages instead of problem solving or technical ability. Its the most frustrating process ever.

→ More replies (3)