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

1

u/SanityInAnarchy Mar 03 '17

You wrote "In other words, because you're not a fucking programmer." That's calling someone a name plus something.

No, that one is a statement of fact. If you can't solve FizzBuzz, you're not a programmer. It's as much name-calling as it would be for someone to tell me that I'm not a plumber. I mean... I'm not.

Do you write long reddit or blog posts that you can do it? No. Because it's actually easy. Do you write 3 page essays on alternative ways to do it? Unlikely...

Well, mostly because we don't have blog post after Reddit post after industry pundit all saying that it's an unfair test because they don't remember how to print numbers properly, or about how much of a gotcha question there is because you might leave a trailing space. Nobody opines about how this has nothing to do with your day-to-day programming where of course everyone uses a proper logging library and nobody prints stuff to standard output.

Because no one's actually suggesting that we use this question to screen people -- people suggest FizzBuzz for that.

  • Claim it's super simple and easy

  • At the same time most people can't do it. What was the codinghorror claim, that only 1 in 200 people can answer the question?

The claim is that it's super simple and easy if you're a programmer. The idea that 1 in 200 people who apply to programming jobs can't actually program actually has a plausible explanation: The people who can program find jobs quickly, and the people who can't take longer to find a job and are more likely to lose it. So of course the pool of applicants is full of people who can't program, even if most working programmers would find this trivial.

Most programmers can solve FizzBuzz given plenty of time and an internet connection (even let's say they can't search for solution to it, but then can google for how to find if a number is divisible by another number...

How about this: You ask the interviewer "What do you mean by 'is divisible by'?"

This is what I mean by "high school algebra" -- everyone should know that, but fine, it's a bit of trivia related to the problem definition, and it's expressed in an equation of the sort that you'd first encounter in high-school algebra. But then...

...you think most programmers should need to look up an algorithm for calculating this on the Internet? Really? You couldn't get from "x is divisible by y if there is a number z such that zy=x" to an implementation?

That's completely different than trying to do it on a whiteboard, in front of a crowd, in an important interview situation in a few minutes when you've never seen it before.

Sure, the whiteboard situation is an issue, which is why we're talking about this in the first place. But I think if you have trouble answering FizzBuzz in front of a crowd, in an important interview situation, when you've never seen it before... you're going to have a hell of a lot more trouble with any actually difficult problems anyone throws at you. This isn't an indictment of FizzBuzz so much as an indictment of whiteboarding at all.

It's like every puzzle problem ever. Answering why manhole covers are round could take forever...

Either you know the answer to that one or you don't. There's no logical process by which you can get from the problem definition to an answer.

With FizzBuzz, there's absolutely a process.

Now you're just throwing meaningless words in there, fizzbuzz is not an algebra problem.

If you don't know modulus, it becomes an algebra problem.

It's a Sheldon to go around grandstanding about how you're smart and everyone is below you over absurd things.

See, you go on describing a stereotype that doesn't actually fit. This isn't about me, and you're only making it about me because it's easier for you to attack me than to defend the notion that someone who can't solve FizzBuzz can still be a programmer. I mean, roughly half your post is attacking me at this point, instead of discussing the actual issue.

And you're clearly smart enough to have something to say about the issue, so why do this? Projection, maybe? You seem a little eager to show how how you're better than me because you're not a "Sheldon".

99% of webdev work is either simple straightforward logic (if/ifelse/else), or illogical horrible problems (why is IE not rendering this right?)

I'm still amazed you think FizzBuzz is in the "trying to trick you" category, and not the if/else category:

It's a trick question. It's meant to be annoyingly hard to figure out if you haven't seen it before, but easy after you understand it.

No, it's not meant to be that at all. It's meant to be trivial if you know the basic constructs of your favorite language, and still easy even if you don't.

1

u/GhostBond Mar 04 '17

Google says the definition of plumber is "a person who installs and repairs the pipes and fittings of water supply, sanitation, or heating systems". Does the definition of programmer include language that says "knows how to solve fizzbuzz"? No. It is not a "fact", it is an opinion, and calling someone "not a fucking programmer" is certainly not language used for logical purposes.

I could respond point by point, but this gets long and pointless.

There is one thing though I can logically point at here.

It's meant to be trivial if you know the basic constructs of your favorite language, and still easy even if you don't.

Even the original author did not make the absurd claims that it's "trivial" and "easy":
https://imranontech.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/

Most good programmers should be able to write out on paper a program which does this in a under a couple of minutes.
Want to know something scary ? – the majority of comp sci graduates can’t. I’ve also seen self-proclaimed senior programmers take more than 10-15 minutes to write a solution.
I’m not saying these people can’t write good code, but to do so they’ll take a lot longer to ship it. And in a business environment that’s exactly what you don’t want.
This sort of question won’t identify great programmers, but it will identify the weak ones. And that’s definitely a step in the right direction.

I could go through why I disagree with some of his claims, but he doesn't even make the absurd claims that it's "easy" and "anyone" can do it.

One more thing - if the problem wasn't an ego investment, people would simply suggest you solve the issue by putting a note about the modulus operator at the bottom of the problem. That's a genuinely easy way to solve it. But people invested in feeling smart don't like it, because it makes the problem easier and so they aren't as smart for knowing it.

1

u/SanityInAnarchy Mar 04 '17

Google says the definition of plumber is "a person who installs and repairs the pipes and fittings of water supply, sanitation, or heating systems". Does the definition of programmer include language that says "knows how to solve fizzbuzz"? No.

Fizzbuzz is a programming problem, not a plumbing problem. I think it would be fair to say "If you can't use a wrench, you're not a plumber." But I don't even know enough about plumbing to know what the best analogy is there.

I don't see the point in continuing this when you're going to be that deliberately obtuse. It seems like your problem is the word 'fucking', and if I'd known that earlier, it would've saved us both some fucking time.

Even the original author did not make the absurd claims that it's "trivial" and "easy":

He did call it "scary" that most comp sci graduates can't solve it. He also, a line or two before your quote, calls it a "tiny" problem.

I assume he didn't bother pointing out that it's easy because that's obvious. He focused on the more controversial claim (at the time): That there are many people who can't solve it.

One more thing - if the problem wasn't an ego investment, people would simply suggest you solve the issue by putting a note about the modulus operator at the bottom of the problem.

I might not actually mind that, but I don't think it's necessary. I'd prefer just including a description of "is a multiple of".

But then, I'm not entirely opposed to the bigger problems, where you'll have to ask for clarification of many more things than this. To me, FizzBuzz is a screening question -- if the candidate finds it easy, you move on to classic CS problems like linked lists or sorting, and the candidate had better be able to ask questions like "I'm pretty sure the language / standard library has an easy way to solve this part of the program, can I just assume a function that does X?"

Whereas if they fail at FizzBuzz, they're almost certainly going to fail at the bigger problems, but it only took you five minutes to find that out.

1

u/GhostBond Mar 04 '17

Your post is what I expected when it's about ego. That's not meant to be a dig or meant to be an insult (no one else is reading these old posts at this point) - the "well...I could put the modulus operator on there but...uh (brain spins) it's, uh, not necessary so I won't". Because (reasons that likely involve the brain realizing it doesn't make you feel so smart when everyone can actually do the problem) we're not going to put an "irrelevant" piece on the problem that would actually move it to being an easy problem.

There is 1 thing we agree on - I see nothing to be gained by my and probably not you in going on with this back and forth for either of us.

Whereas if they fail at FizzBuzz, they're almost certainly going to fail at the bigger problems, but it only took you five minutes to find that out.

If by bigger problems you means college theory problems like linkedlists and sorting, possibly. But after all this fire and motion, you still haven't tested whether they've actually done any of the things on their resume or whether they just copied someone else's resume off the internet. You don't know if they're a new college grad with no experience, or whether they actually have the experience they need in html, javascript, spring, hibernate, tomcat, etc. If you're in web dev, you've just stressed them out and tested them in things they'll almost certainly never use.

1

u/SanityInAnarchy Mar 04 '17

...reasons that likely involve the brain realizing it doesn't make you feel so smart when everyone can actually do the problem...

See, I'm guessing you'd still find a large number of applicants who can't solve the problem anyway. Even if this is an ego thing, it's not like my ego would be threatened by adding your suggestion -- and I did say I might not mind it. But I'd also still happily fail someone who can't translate the definition of "is a multiple of" into code, even without modulus -- if you can't do that, you're not going to be able to handle real customer requirements any better, and you're probably going to fail a later test.

So this is why I don't think it matters so much -- adding the definition of "is a multiple of" is a good idea, because now no one can accuse this of being a "trick question" -- well, you might anyway, but it's no longer a question that relies on trivia. But adding that last step of "Oh, and by the way, it's '%'" doesn't actually make it a better filter -- any candidate who would pass with your footnote but not with mine is still going to fail a later test anyway.

But after all this fire and motion, you still haven't tested whether they've actually done any of the things on their resume or whether they just copied someone else's resume off the internet.

At this point, how much does it matter? If they've shown that they can write code, and that they have a good fundamental grasp on basic data structures and algorithms, then the only question is how long it'll take them to ramp up on the specific frameworks and libraries they're lacking. Knowing how to use Hibernate, once you know how to program, really is largely a question of StackOverflow and API references.

1

u/GhostBond Mar 05 '17

I was going to drop it, but this is hilarious. You should start a business - you can teach high school students who have memorized fizzbuzz a short course in data structures, pay them about $20/hour, and they will be exactly the same as people with years of programming experience.

You'll be rich!

1

u/SanityInAnarchy Mar 05 '17

Sorry, where do you think I said that one?

1

u/GhostBond Mar 05 '17

That's the philosophy of your post.

At this point, how much does it matter? If they've shown that they can write code, and that they have a good fundamental grasp on basic data structures and algorithms, then the only question is how long it'll take them to ramp up on the specific frameworks and libraries they're lacking. Knowing how to use Hibernate, once you know how to program, really is largely a question of StackOverflow and API references.

I've know plenty of high schoolers that could do those, so by the philosophy you're saying that's all you need.

1

u/SanityInAnarchy Mar 05 '17

I said "How much does it matter?" not "It matters exactly zero."

But alright, let's follow your idea for a bit, just for fun...

It'd take more than a short course -- you already skipped algorithms. And no, you still don't memorize FizzBuzz -- when people start doing that, interviewers find alternatives anyway -- the point is to get them to where a problem like this really is easy.

There's already a bit of a cottage industry around that idea, though, with its own self-help books and "boot camps" and everything. The problem is that a random batch of high-schoolers won't actually be able to solve these problems. Last time I was in school, data structures alone weeded out at least half the class -- not everyone can actually do this. Or at least, not everyone still wants to, once they know what they're getting into.

So what you're suggesting, really, is that I hire 5x more people than I actually need, so I'm paying more like $100/hr per decent programmer I actually get... and then pay for a CS education for them for the first year or so, knowing I'll end up firing most of them. Wow, I'd be rich.

And then, once I filter it down to the handful of high-school kids who can balance binary trees and sort linked lists and such in their sleep, who are actually capable of coming up with novel algorithms to solve hard CS problems, I couldn't keep paying them $20/hour for very long, because they can now pass an interview at any of the Big Four and be making $100k+ base salary, before the stock grants and benefits.

So basically, you invented a trade school, only I pay them instead of the other way around.

1

u/GhostBond Mar 05 '17 edited Mar 05 '17

So basically, you invented a trade school, only I pay them instead of the other way around.

Not exactly, I invented something more like Trump University (or name any scam school), because it doesn't work. Just knowing data structures and basic java is nowhere near what you need to know to do software development.

when people start doing that, interviewers find alternatives anyway
I compiled a list over the last 100 so-called programmers who came to me looking for a job. 75 of them failed one or more of our three simple programming tests. Let me emphase that; 75 out of 100 applicants to a programming job can not program. At all.

Ooooooooooooh, of course. It's way past Sheldon Cooper, Sheldon Cooper is simply a (often absurd) status battle.

It's the next step, about breaking people with a power trip.

  • Make it an identity issue (if you were a real programmer you could do this)

  • Give them a trick question, then pile on added stress (do it in a tiny amount of time, we'll all watch you, self-narrate everything you do)

  • Drive home that home that it's "easy". (super quick! super easy! anyone who can't do it can't program at all!)

  • While also letting them know you know the "easy" is a lie and you're just fucking with them (75 out of 100 people couldn't do this! but also it's super easy and do it quickly).

The question is so stupid, he even knows that of the small number of people who pass it that they've just memorized it:

About 7 of 10 made this test, but when we took them to step two many of the programmers still could not program at all. It seems like they have read about the fizz buzz test in blogs and just repeated a solution they’d read about before the interview.

What happens at the end of the bully process is that normal people who are watching start to realize what's really going on and it risks blowing back and making the bully look bad. So the next step is do it outside their view - "do it on the phone before the interview" aka "do it when the teacher is out of the room".

Right.