Hacker News new | past | comments | ask | show | jobs | submit login

I must admit to hating interviews and especially these sort of questions. I'll happily sit down and chat to people about any of the areas I know about, but these sort of gotcha questions just make me think 'why I am here justifying myself to these people'?

Watch me juggle! Watch me somersault! Watch me do and say pointless things to impress you with how smart I am!




Almost every interview I've ever been on that consisted of these kinds of questions, I've gotten an offer. I agree it's a mostly useless exercise in trying to determine someone's technical skill, but as an interviewee, ultimately it makes more sense to just "play the game" and memorize the mostly-exhaustive list of questions.

Conversely, one interview I do remember where I didn't end up getting an offer, was going swimmingly talking about pirates splitting gold and manhole covers. And then one interviewer asked me with so much Perl experience, why hadn't I published anything on CPAN? Boom, done.

I still haven't published anything on CPAN, but could I interest you in this scale and 8 balls I have here?


I'd answer the question of why I haven't published on CPAN (which I haven't, and I primarily program in Perl for work) is that I don't have the time. I've published some small add-ons for Warhammer Online (Lua, not Perl), and have found that even such a simple thing as that, where it is common for add-on authors to abandon their add-ons and users do not expect much support, was a lot of time. That's because if I put it out there, I'm going to support it. If user's ask for features--even features I won't use--that make sense, I want to try to add them.

If publishing something in such a specialized and restricted universe is so much work, I would expect that publishing and maintaining (to my quality standards) a CPAN module, which would have a potentially much larger audience, would simply take more time than I have available.


My current policy is that unless a piece of code suddenly makes the world a worse place to be in (hopefully I haven't done that yet :) ) I'll release something (normally on my website) and make no further commitment than that.

My philosophy is that it's still better to have your code out there and unsupported where someone can have the option of using it, rather than leaving it stuck on a hard drive never to be seen or useful to the world at large.

While it pains me not to answer every person who emails me about code I put out there, I try to live with it. Plus, it gives them a chance to solve their problem for themselves. :)

In order to get to that point I had to get past the "Oh noes, what if people/future employer/rockstars see my code deride it, laugh in my face and not give me a job because the hacky code I put out is..hacky". I still have flashbacks though. :)

I would encourage you to lower your standards for publishing your code. Is there a "CPAN Unplugged" where lower standards are explicitly accepted and okay?


There are plenty of reasons not to publish on CPAN. Not everyone has time to "babysit" all the modules they write (and deal with people's complaints that they're misnamed, aren't complete enough, etc).

Also, lots of people who were once productive on CPAN years ago have "gone dark" in recent years. Generally has something to do with having a life (fulltime job, family, that sort of thing).

So all in all that's a pretty snarky question to ask. It's definitely a plus to show that you have the sense of civic engagement to go through the full-fledged publishing process on CPAN (including processing testing reports, RT issues, etc) but it should suffice to provide code samples with clean coding style and decent enough documentation (even if it's a well-written README).


I'm with you.

Let's discuss architecture of the last app I built in detail, with the how's and why's. Ask me questions on it, rather than just letting me brush through it.

Let's talk about the most challenging bit of code I wrote at the last gig. Get me a terminal and I'll walk you through it. Let's do a "for real" code review--my stuff or yours, either is fine, and get into some meat.

Hell, let's even talk about our feelings.

But these questions in an interview are just not fun. I'm already nervous enough, and getting jostled by missing some stupid trick question that has little relevance just sucks.


Agreed. They may as well just have me take the Mensa test and send them my verified score along with my cover letter and resume, and add that to their initial resume screening. Save us both some time and me some annoyance.


For positions as product managers, I found these to be fair questions:

If you are Product Manager for Google's Adwords, how do you plan to market this?

What would you say during an AdWords or AdSense product seminar?

Who are Google's competitors, and how does Google compete with them?

What's a creative way of marketing Google's brand name and product?

If you are the product marketing manager for Google's Gmail product, how do you plan to market it so as to achieve 100 million customers in 6 months?

Explain a database in three sentences to your eight-year-old nephew.

so-so questions:

Why do you want to join Google?

What do you know about Google's product and technology?

Have you ever used Google's products? Gmail?

Bad questions:

What is the most efficient way to sort a million integers?

How many golf balls can fit in a school bus?

How many times a day does a clock’s hands overlap?

Overall, I still favor my approach of doing the job, rather than jumping through hoops: http://blog.fairsoftware.net/2010/11/10/how-to-land-a-job-at...


If you are Product Manager for Google's Adwords, how do you plan to market this?

Bad question unless you ascertain the candidate knows enough about Adwords to give a good answer. (Whether a candidate should know enough about your core products is another question...)

What would you say during an AdWords or AdSense product seminar?

Bad question, again requires product knowledge a candidate may not have.

Who are Google's competitors, and how does Google compete with them?

A little broad but could be made into a good question.

Why do you want to join Google?

Waffle question that should be used as filler.

What do you know about Google's product and technology? Have you ever used Google's products? Gmail?

If answer == no/nothing, kick candidate out of room.

What is the most efficient way to sort a million integers?

Poor question but asking general "how would you approach problem X" questions isn't too bad, at Google product managers need to be pretty technical.

How many golf balls can fit in a school bus?

Poor question but estimating similar product-related issues is good and they essentially break down into the same types of answer as golf balls, gas stations in the USA, etc.

How many times a day does a clock’s hands overlap?

Terrible, should never ask something the candidate may have already worked out in the past and which does not require much thought to answer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: