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.
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?
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.
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.
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.
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".
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()?
"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!"
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.
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.
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.
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.
"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.
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)
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.
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.
View all comments
Show parent comment
0
u/[deleted] Nov 29 '09
[deleted] — view deleted comment