r/programming • • Mar 01 '17

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

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

717 comments sorted by

View all comments

Show parent comments

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.

2

u/GhostBond Mar 01 '17

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, you really need to fix it before continuing to test -- and that can really throw someone off.

Not getting compile errors when coding is a far better indication that the person has actually been programming for years, than their ability to solve an algorithm on a white board in a high level way.

There's no way you should still be being stymied by compile errors in an IDE if you've been coding for years.

3

u/oridb Mar 01 '17 edited Mar 01 '17

There's no way you should still be being stymied by compile errors in an IDE if you've been coding for years.

Which is why I specifically did not say compile errors. Off by one errors when asked to implement Ford-Fulkerson, on the other hand, will happen. Yes, that's an actual example of a problem I've seen handed out for coding in front of an IDE. You were expected to look up references and refresh your understanding of the algorithm if needed.

6

u/GhostBond Mar 01 '17

Ford-Fulkerson... Yes, that's an actual example of a problem I've seen handed out for coding in front of an IDE.

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.

Have you looked at the wikipedia page on Fork-Fulkerson?
https://en.wikipedia.org/wiki/Ford%E2%80%93Fulkerson_algorithm

They have a python implementation, it's a page long. That's not an interview question, it's a tool to beat someone with.

-6

u/oridb Mar 01 '17

It's perfectly reasonable to implement it in a couple of hours. A page of code for a well known and well documented algorithm isn't that much -- especially with a reference page describing it.

8

u/GhostBond Mar 01 '17

I have a rule, developed from experience coding - every adjective past the first used to describe how "easy" something is means it's harder. "perfectly reasonable" we're up to -1, "well known" -2, "well documented" -3, "isn't that much" -4, "especially" -5.

in a couple of hours

I've never seen an interview that lasted longer than an hour with the same person. Sometimes they'll shuffle you around between different people and it will take longer than an hour, but not with the same person.

An algorith that takes more than an hour to complete is to long for an interview.

0

u/oridb Mar 01 '17

Because debugging is so variable, I have seen many places adopting them turn the entire morning into writing one program.

1

u/GhostBond Mar 01 '17

I find that unbelievable. Not sure what else to add.

1

u/oridb Mar 01 '17 edited Mar 01 '17

Yes, the decision making around these kinds of interviews is strange. In general, I find that places which do whiteboard coding tend to have at least somewhat sane processes. Obviously, it varies from place to place.

1

u/GhostBond Mar 01 '17

Ancedotally, my experience has been like this.

Interview with 1 person more than an hour - doesn't really happen, it's to crazy even for the crazy people.

Whiteboard "trick you" problems - very chaotic and disfunctional organization and interview process.

Simpler job-related tests (sat down on a computer, they leave me alone with the computer, implemented a web page based on screenshot) - decent interview process, decent company, but a bit scattered. Job was fun but stressful.

Just verbally ask simpler questions - very sane company and process, job is a little boring.

0

u/falconberger Mar 01 '17

I just explain the algo.

0

u/KagakuNinja Mar 01 '17

Yes, we get it... white boards are great for communicating ideas and brainstorming. They are terrible for writing actual code.

0

u/[deleted] Mar 02 '17

[deleted]

1

u/KagakuNinja Mar 02 '17 edited Mar 02 '17

Apparently we live in different worlds, because in the approximately 20 times I've been asked "solve this problem in language X", they have never said "don't worry about the syntax" or "just use pseudo code if you want".

Edit: Actually one company did allow pseudo-code and were relaxed about the challenge; they ended up hiring me after several conventional white boarders were not interested.