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

0

u/vilcans Mar 01 '17

" my syntax is a bit poor off tge top of my head, pseudocode ok?"

With this, do you mean that you don't actually remember the syntax of the programming language? I.e. you don't know by heart how to define a function or create a while loop?

Not knowing APIs by heart is normal, but not remembering the syntax would be a huge red flag for me. Can you be an experienced programmer in a language without remembering its syntax?

3

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

I worked for years in C#. it's only been a bit more than a year since I last worked in it but this morning I had to look up whether statements ended in a ";".

Since I worked in visual studio for that time it was simply never an issue I ever had to think about since it would add/highlight any incorrect semicolons. It was utterly utterly 100% irrelevant to the job.

On the other hand while I never used Java a significant amount in industry I can rattle off the boilerplate wrapper code and syntax details more than a decade after I learned it because I used only plaintext editors when I learned it.

This does not make me a better java programmer in any way. It just means I used less effective coding tools when I routinely used java.

Quick guess: you like text editors over IDE's?

1

u/vilcans Mar 02 '17

That is interesting (especially since C# and Java are so similar). I'm genuinely trying to become a better interviewer, and I'd think only a beginner would struggle with syntax. Help me understand.

Don't you learn the syntax from the IDE's highlights? When the IDE signals a missing semicolon for the tenth time, don't you recognize the pattern? Visual Studio doesn't speculatively insert semicolons, and even if it did, wouldn't you learn that statements end with semicolon?

Quick guess: You don't mind inconsistent spacing or naming?

Quick guess: you like text editors over IDE's?

No. IDEs are helpful (the good ones that is).

1

u/WTFwhatthehell Mar 02 '17

The shop where I used C# had a pile of optional and third party tools for visual studio. I'm pretty sure it added semicolons automatically. They also had a lot of their code formatting standards configured into it so most of their C# codebase was beautifully consistently formatted.

I'm obsessive about consistent spacing to the point that back in my student days I wrote my own crappy auto-format code for when I had to read assignment code or example code with spacing I didn't like.

I like consistent naming but it doesn't bug me as much.

In both cases I love IDE tools which handle it for me buthardly touched an IDE until working in industry.

I'm sure when I had C# code in front of me I never had problems with semicolons but it simply never impinged on my consciousness enough to need to remember it. Unlike java or C I simply never spent half an hour tracking down a problem that turned out to br an extra or absent semicolon.

→ More replies (3)