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

0

u/[deleted] Mar 01 '17

[deleted]

10

u/[deleted] Mar 01 '17

A little stress is good, you don't want that person who is going to crack and freak out when a dead line is approaching and they are not as far as they wanted to be. Or that person who looks at a task with a deadline and doesn't know how to do it so they start to panic.

8

u/absentmindedjwc Mar 01 '17

Fuck that. Even when shit is on fire, you don't typically have someone standing behind you, judging your every keystroke... let alone them also forcing you to use a whiteboard rather than an IDE of your choice and refusing to allow you to use any online resource in order to help you along.

Whiteboard interviews are literally nothing like actual programming, and could result in even the most talented developers being turned down because they aren't able to properly complete your obscure task. I am a principal-level software engineer for a major financial institution, with over a decade of professional experience, and I've once completely blanked during a whiteboard interview.

2

u/[deleted] Mar 01 '17

What was your whiteboard interview like? What were you applying for and what did they ask?

What is the institution, you may have a different definition of "major". Are talking the to big to fail type or the bank of eastern Kentucky level?

What exactly do you do, creating apps that consume API's written by someone else just to display to end users isn't really complex but I assume financial institutions have those people on payroll as well.

These are things we need to know in order to be able to have any oppinion on whether or not your whiteboard question was unfair, absurd or if it was completely appropriate but your just not qualified for the position you applied for.

2

u/absentmindedjwc Mar 01 '17

What was your whiteboard interview like?

Essentially "write an application that does {this thing}"

What is the institution, you may have a different definition of "major". Are talking the to big to fail type or the bank of eastern Kentucky level?

I don't want to be too specific, but within the top 5 non-state-run banks globally.

What exactly do you do, creating apps that consume API's written by someone else just to display to end users isn't really complex but I assume financial institutions have those people on payroll as well.

Currently, I manage (hands-on) a team responsible for wholesale banking. One of our products directly competes with the Federal Reserve. We don't just consume APIs, some of the systems we consume were built and maintained by us.

These are things we need to know in order to be able to have any oppinion on whether or not your whiteboard question was unfair, absurd or if it was completely appropriate but your just not qualified for the position you applied for.

Fair enough. The question was, as I said, "write {this thing}", which I did in the language the job was asking for. I then got shit on because I didn't write it in a language the job listing never mentioned, or wasn't mentioned to me before the whiteboarding session.

0

u/[deleted] Mar 01 '17

[deleted]

7

u/oridb Mar 01 '17

Because in the real world you are often put into a position of very elevated stress, without any of your everyday tools at hand, forced to solve a problem off the top of your head, whilst being stared at at by at least one person?

"All the servers are down, the memory is corrupted and the backtraces are trash. We need to gather around bobs machine and fix it. Now."

1

u/AmalgamDragon Mar 01 '17

And if you interview process does a better job of screening candidates for how well they can do the job, this situation won't happen.

1

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

Exactly. A good interview process would filter out any candidate that didn't know reading a zip file tries to map windows times to unix times, which involves reading the timezone, which involves setting environment variables, which is a big no-no in multithreaded programs. And therefore, with a good interview process you'll never have to debug issues that have root causes like that in production.

And since you've got such a good interview process, you'll never have any engineers that don't know what every last line in the code they use and all its dependencies are.

1

u/AmalgamDragon Mar 01 '17

It will filter out most candidates, including managers, that don't know how to get the software systems their organization is building tested in such a way that "all the servers are down" type bugs are caught prior to being deployed production with no way to roll back the deployment in less time than it can be debugged. A few may get through, but the overall organization will be robust against their more frequent errors and be able to mentor them in good engineering practices.

Put another way, it will filter out people who aren't professional software engineers, rather than filtering out people who aren't professional computer science and programming test takers.

1

u/oridb Mar 02 '17

Yup, exactly. That is why AWS, Google, Facebook, and Microsoft never ever go down, and have never ever needed to do firefighting behind the scenes to fix issues that spare capacity ended up absorbing before it became visible to users

1

u/AmalgamDragon Mar 03 '17

Nope. Amazon, Google, Facebook, and Microsoft screen for professional computer science and programming test takers not for professional software engineers. At least Google and Microsoft have mostly stopped screening for professional puzzle solvers, so there's that.

1

u/oridb Mar 03 '17

Here's an example problem that I actually had to handle. Tell me how you'd solve it.

Symptom: Your network team's switches in exactly one data center are slowing to a crawl. It's spinning with 100% CPU usage. The only hardware routing packets to it directly is maintained by your team. Your last release your software is 2 weeks old, and your team has pushed no updates to it. There are hundreds of teams running code on the layer below you, and many of them are doing releases.

I'm going to say that the final issue ended up being 4 separate teams. Each of them had their software configured in a way that was theoretically fine, but tickled a bug in another team's config, that tickled a bug in another teams system. That bug was minor, and didn't cause any problems until another unrelated team rolled out their software, which triggered a flood of control plane packets. Those control plane packets were unimportant, but control plane policing was broken in the router software, so its CPU got overloaded and it fell over.

I've had other issues similar to that in most places that I've worked with large interconnected systems. I'd like to know how a more professional engineer would have prevented this. Testing is pretty easy in smaller systems, but in my experience once other code starts getting changed, you get spooky actions at a distance that needs to be debugged to find out what even needs to be rolled back.

1

u/AmalgamDragon Mar 03 '17

More context is required. Is there a single pre-production environment that everyone in the same production environment rolls out to before rolling out to production? When teams roll out to production, do all systems running their stuff update at the same time? When teams roll out to production, are the new changes all switched off by default only to be switched on post-rollout? Is there the capability to rollback updates (in totality like they never happened no matter they tried to do to the machine)? How is the network traffic being monitored?

What do you mean by "There are hundreds of teams running code on the layer below you, and many of them are doing releases." (i.e. what is a 'layer' in this context how is your layer and the layer below connected/communicating)?

1

u/oridb Mar 03 '17 edited Mar 03 '17

More context is required. Is there a single pre-production environment that everyone in the same production environment rolls out to before rolling out to production?

In this case, it also wouldn't have shown up in a small pre-production environment, because the feedback loop was only a problem when the number of servers under the switches reached a critical number that overloaded the CPU and caused it to stop processing critical control packets with acceptable latencies.

When teams roll out to production, do all systems running their stuff update at the same time?

No, that would be incredibly dangerous. Staged rollouts are important. That's the only reason this issue was contained to only one data center, but without high pressure debugging it would be difficult to ensure that it was a bad roll and not (eg) a bug in handling leap seconds or some other situation that could spread out of control. It was also critical to quickly learn who was rolling out code that was having the spooky action at a distance effect.

On the other hand, I've also seen issues where the staged rollout was the root cause -- the new version interacted poorly with the old version, and caused relatively rare (but important) misrecorded data in production. An all at once rollout there might have saved some debugging.

When teams roll out to production, are the new changes all switched off by default only to be switched on post-rollout?

Yes. In this case, 0.5% rollout was enough to trigger cascading bugs.

"There are hundreds of teams running code on the layer below you, and many of them are doing releases." (i.e. what is a 'layer' in this context how is your layer and the layer below connected/communicating)?

I worked on the networking team at that time. Everything was communicating over our stuff.

→ More replies (0)

8

u/dccorona Mar 01 '17

You miss the fact that whiteboard interviews are intentionally designed to favor false negatives over false positives. The latter is crazy expensive for a company (and in more than just straight salary dollars). It's not about ensuring that anyone who would be good in the job gets hired so much as it is about 2 things:

  1. It still manages to produce enough employees

  2. It minimizes false positives as much as possible

If you can achieve 1 and 2 with only 1 out of every 100 technically qualified interviewees making it through, it's still not only successful but probably the best system...that's how expensive false positives are.

Big companies lose lots of money when they have false positive hires. As such, they spend lots of money evaluating and changing their interviewing process in order to try to make it as efficient as possible while still avoiding false positives. And it actually does change behind the scenes a lot more than you notice as an interviewee...there's a lot of structure there to the questions that you don't realize is actually present. And yet, none of the big companies, with all of their money invested in ensuring they're doing the right thing, still haven't done away with white boarding.

1

u/GhostBond Mar 02 '17

And yet, none of the big companies, with all of their money invested in ensuring they're doing the right thing, still haven't done away with white boarding.

That's not at all true.

Google used to do "puzzle problem" interviews (why are manhole covers round?). Then they actually studied it and found it was useless.

A quick google search shows in the top 3 a blog entry that says they don't do whiteboard interviews any more:
https://swizec.com/blog/inside-a-google-onsite-interview/swizec/4352

Perhaps they studied those and also found them to be useless.

1

u/dccorona Mar 02 '17

I've seen those articles. They seem to say that they specifically don't do any whiteboard coding, that doesn't mean they don't use a whiteboard (the one you linked mentions one, actually). Whiteboard interviews don't have to include code...when I interviewed with Google 2 years ago, most of my questions were design questions, but they still used a whiteboard. "We ask you to draw architecture instead of writing algorithms" is a far cry from "we make you write code on a laptop by yourself over the weekend" that everyone seems to think is the greatest interview style of all time.

1

u/GhostBond Mar 02 '17

I guess those aren't what I'm talking about. It sounds like Google also used to do whiteboard algorithm questions, then quit doing them.

Doing non-algorithm questions on a whiteboard is a fairly different topic.

0

u/tophatstuff Mar 01 '17 edited Mar 02 '17

Because in the real world you are often put into a position of very elevated stress, without any of your everyday tools at hand, forced to solve a problem off the top of your head, whilst being stared at at by at least one person?

Yes, any time anyone asks me for an estimate for a poorly specified problem they've just come up with.

3

u/Adverpol Mar 01 '17

I don't see how providing an estimate for work is comparable to a whiteboarding interview...