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

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?)

-2

u/art-solopov Mar 01 '17

Yeah, yeah, congrats, you're good at whiteboarding. Pat your back for that. And fuck the guy who can code but isn't good at coming up with the solutions on the first try without the compiler or docs, right?

3

u/WTFwhatthehell Mar 01 '17 edited Mar 01 '17

Why would you need the compiler and docs?

If you're writing pseudocode you shouldn't need any of that. You're literally just painting a rough picture of how you'd plan to solve the problem.

personally I hate writing code on paper or otherwise in handwriting, always have. I remember an interview when I just talked through how I'd solve it without putting pen to whiteboard and they accepted my answer happily. I liked that crowd.

If you're sweating bullets about the capitalization or the exact options available from some API or some function call: don't. Almost nobody cares about that and it's a red flag if they do too much. They just want to make sure you have any capacity at all to break down a problem logically. I have less experience on the other side of the desk but there's a reason Fiz-Buzz is necessary.

There's a lot of applicants who can quote code like it's ancient greek poetry but can't for the life of them write even a few lines of novel code. Who apparently can't actually think.

1

u/art-solopov Mar 01 '17

If you're writing pseudocode you shouldn't need any of that.

I'm a web dev. I've rarely written any pseudocode on technical interviews. Mostly it's SQL. Sometimes, the server-side language of choice. A couple times, regular expressions.

If you're sweating bullets about the capitalization or the exact options available from some API or some function call: don't.

It's not even about API options. Sometimes, I just want to be sure a feature of a language would work in a way I'd imagine it to, like IIFEs in Python.

There's a lot of applicants who can quote code like it's ancient greek poetry but can't for the life of them write even a few lines of novel code. Who apparently can't actually think.

And there are people who can look up the solutions to your problem or will make an error on the first attempt and quickly fix it. Whiteboard interviews is asking from a candidate to write out a correct solution on the first try while being watched by an interviewer or interviewers.

→ More replies (3)