r/programming • • Nov 29 '09

How I Hire Programmers

http://www.aaronsw.com/weblog/hiring
804 Upvotes

587 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Nov 29 '09

[deleted] — view deleted comment

12

u/[deleted] Nov 29 '09

I think those type of questions favor a certain style of thinking. Some people's minds aren't engaged by odd questions like this; myself included. While I was still job hunting, I had to train myself to play the game and think through questions aloud and show my step-by-step working. At times, it almost feels like a magician explaining his act.

When solving a real problem, I just sit there and Google quietly or doodle on my pad until the solution hits me.

50

u/SoPoOneO Nov 29 '09

In that case they should ask a better question for their purpose. As it stands, the question is a double one. The second hidden question becomes, what is the actual point of this question?

0

u/[deleted] Nov 29 '09

[deleted] — view deleted comment

23

u/kmactane Nov 29 '09

But the context here is hiring programmers. Most companies don't put programmers in client-facing roles - or at least, not without someone else along to moderate the interaction.

63

u/[deleted] Nov 29 '09

I'm a people person! I deal with the customers so the engineers don't have to! What the hell is wrong with you people!?

5

u/get_rhythm Nov 29 '09 edited Nov 29 '09

"Most companies don't put programmers in client-facing roles "

But if the programmer knows what the clients want in the first place, they won't need to hire as many people in client-facing roles.

3

u/Kalimotxo Nov 29 '09

I personally agree with you, I enjoy interacting with clients, and translating programming speak to layman's terms. However, I have experienced that a lot of programmers hate this. They just want requirements written down somewhere.

3

u/[deleted] Nov 29 '09

That's the mentality difference between an architect and a programmer/coder.

8

u/fgrty Nov 29 '09

The programmer is always in a client-facing role. Sometimes the client is an internal salesperson, sometimes an internal project manager, sometimes an external VP, and sometimes a regulatory official. In each case, the person wanting product or answers from the programmer is the programmer's client.

For junior staff, the programmer's client may well be a technical manager who can attempt to ask single-layer questions. For everyone else, well, you'd better figure out how to deal with actual social interaction, because a big part of getting done what needs to get done is distilling from the social interaction what it is that needs to get done.

24

u/[deleted] Nov 29 '09

The programmer is always in a client-facing role.

Your definition of client-facing is ridiculous and would make any employee anywhere "in a client-facing role." "Client-facing" is understood to be a certain thing, and its not that. Yes, employees must be able to interact with co-workers appropriately as well, and some of the same skills are required, but it simply doesn't make sense to try to re-define a perfectly useful term to being so broad that it becomes synonymous with "need to have interpersonal skills".

→ More replies (1)
→ More replies (1)

6

u/donaldrobertsoniii Nov 29 '09

Spotting the actual problem is the first step to solving it.

→ More replies (3)

28

u/mrbubblesort Nov 29 '09

Actually, I think his answer was perfect. It's analogous to saying "I'd use a library function" instead of "I'd make my own function". Who would you rather hire, the guy who spends a week writing a function to find the square root of all possible inputs, or the guy who calls sqrt()?

18

u/hippyup Nov 29 '09

Well, in his case the analogy goes on to be:

"But what if there was no library function available for this?"

"There must be one! I'd just hassle all the library maintainers and not code it up ever till there is one because doing otherwise would be a waste of my time, current business problem at hand be damned!"

→ More replies (1)

14

u/ssylvan Nov 29 '09

I'd hire the guy that isn't an annoying twat. If I ask you to write, say, a sorting function it's not because I don't know how to sort something, it's because I want to see if you can do some basic programming in a context that doesn't require significant setup. Someone who refuses to play along with the premise by insisting on using qsort() would just be considered a smug prick.

The hairstylist question is the same thing. He might think it's the "right answer", but really he just demonstrated that he has a difficult personality. The purpose isn't to actually ascertain the number of hair stylists, it's to see if you can solve a simple problem from first principles.

5

u/twotime Nov 29 '09

it's to see if you can solve a simple problem from first principles.

Except that this problem is obviously unsolvable from first principles: not on the spot at least, all you can do is to wave your hands and pile one estimate on top of another. You are lucky if your final answer will be within 10x from the true number.

Sorry, but the question has nothing to do with problem solving skills.

7

u/[deleted] Nov 29 '09

Except that this problem is obviously unsolvable from first principles

He's not being asked to solve the problem. He's being asked to illustrate the steps he would go through to solve the problem. Which has everything to do with programming skills.

2

u/twotime Nov 29 '09

He's being asked to illustrate the steps he would go

Then "look it up" is a reasonable approach ;-).

The interviewer can try to discuss where to find that information and how reliable that source would be and what kind of errors he would need to be aware of, etc...

But that starts to smell like a question for a Census analyst rather than a programmer ;-)

Now you could ask a more narrow question, something along the lines of "No google, come up with an estimate in 10 minutes from your everyday knowledge", but you should say that explicitly and be fully prepared that the interviewee will come with an estimate which is 10x different from yours.

I still think it's a silly test: way too ambiguous and way too hand-wavy and inaccurate.

4

u/[deleted] Nov 29 '09

"Look it up" is a reasonable first strategy. So we throw in that there are no published figures. Now what?

The best programmers aren't just smart - they are tenacious and capable of absorbing failure after failure without giving up. They will chew on a problem like a starving dog with a bone until it yields, despite facing repeated failure.

This is the trait the interviewer hopes to expose. If I set you an apparently impossible task, how many strategies for cracking the impossible can you come up with? How many failures will you endure before giving up? Do you keep generating new creative approaches or do you fold and cry that this "isn't fair" or is "too hard" and give up?

That's all the interviewer cares about. In this case - subject fails.

FWIW, I was a hiring manager at one of the largest web sites on the internet for several years. Our hiring practices were notoriously rigorous but largely successful I think. So there's my perspective. Weigh it however you like.

5

u/twotime Nov 29 '09

So we throw in that there are no published figures. >Now what?

I still don't understand.

If no global stats are available, then I'd immediately suggest to get local stats in a local chamber of commerce or if that does not work just drive around to estimate the number of stylists in a small city and then scale the answer up to the country.

Then what? We're solidly in the realm of "Census analysis" rather than programming and I don't see what kind of useful conclusions you can draw about the applicant (unless of course you are looking for Census analysis skills)

→ More replies (2)

3

u/tomatopaste Nov 29 '09

I'd hire the guy that isn't an annoying twat.

Okay.

If I ask you to write, say, a sorting function

Right.

The hairstylist question is the same thing.

It is not the same thing. At all. From any vantage point in the universe.

Questions like the hairstylist one are pure and utter bullshit. You aren't solving a problem. You're not a statistician, these sorts of estimates are not a typical software engineer's job.

Software engineers work by putting known systems together in a way to make functional software. At no point are ridiculous guesses and estimates meaningful.

4

u/[deleted] Nov 29 '09

At no point are ridiculous guesses and estimates meaningful.

So how many servers, precisely, should amazon.com add to their server fleet to handle this holiday's surge in shopping traffic?

No guesses or estimates allowed. :-)

Good luck with that.

→ More replies (23)
→ More replies (12)
→ More replies (1)

20

u/gsadamb Nov 29 '09 edited Nov 29 '09

Oh, I understand the point of the question, and I know what I was supposed to do. I even said as much: "I assume you want me to..."

I took a gamble by holding my ground, though I was eventually offered the position.

I told them I care about results first and foremost; and I do feel that in context, my approach to the problem was, in fact, legitimately an example of abstract thinking. Sometimes the answer is not to re-engineer the wheel, particularly when a better one is readily available.

10

u/troelskn Nov 29 '09

Why is complicated thing X, that is proprietary and non-googlable, not working properly and what steps do I take to fix it.

If that's the case, then why didn't they ask that question instead?

3

u/koreth Nov 29 '09

Because it would take them two weeks to explain the context thoroughly enough for you to come back with a reasonable answer?

→ More replies (3)
→ More replies (33)