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

Show parent comments

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.

0

u/gerbs Mar 02 '17

It's just syntax. I let candidates choose whatever language they want to write it in (if they know more than one) because it really doesn't matter if I need to spend two weeks teaching them Go to work on something if I know they're going to write good code in whatever language they write.

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.

0

u/mrmidjji Mar 02 '17

But you are going to be solving small math puzzles all the time. Asking specifically for bubble sort or any other named algorithm is a bad idea, but asking for an algorithm which sorts a list would work just fine. Anyone can google an answer which means the important part is how well do you solve a problem when that does not work.