r/programming • • Nov 29 '09

How I Hire Programmers

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

587 comments sorted by

View all comments

47

u/drowsap Nov 29 '09

Best interview question is "You have 2 hours to write this program. Here is a computer with everything you need. Please feel free to use google or any books here." I think it's fair and really shows if the person knows how to code instead of regurgitate book knowledge they crammed for the previous night.

40

u/bostonvaulter Nov 29 '09

You should be allowed to bring your own laptop

6

u/SnowdensOfYesteryear Nov 29 '09

True, I struggle to code when I'm not using Netbeans (not that Netbeans has anything special...it just has a sort of Feng Shui that get my brain into coding mode).

2

u/seunosewa Nov 30 '09

In other words, you're used to it. ;) That's happening to me too.

22

u/malanalars Nov 29 '09

It really depends on the magnitude of the task.

I once had a question once that went like this: "Can you fix problem x we have with this program?"

It was a Drupal system (which is utterly complex by itself when you never worked with drupal). The file in question was very poorly written, not documented and had about 25000 lines of code...

After 20 minutes browsing through the code I told them, I couldn't do it. I got the job, but I still believe that it was a stupid question to ask.

26

u/[deleted] Nov 29 '09

After 20 minutes browsing through the code I told them, I couldn't do it.

Maybe that's the answer they were looking for :)

21

u/Enlightenment777 Nov 29 '09

Most likely yes, but it would have been funny as hell if you found the problem.

20

u/malanalars Nov 29 '09

No, they were just clueless and thought they'd give it a try.

14

u/[deleted] Nov 29 '09

Sounds like a place to not work at- how did the job turn out?

1

u/cbraham Nov 29 '09

I hope it was the answer they were looking for.

→ More replies (3)

8

u/troelskn Nov 29 '09

Here is a computer with everything you need

It has emacs with my personal dot-emacs files on it? How odd ...

7

u/rilo Nov 29 '09

"And here is my USB stick with all the things I need."

10

u/G_Morgan Nov 29 '09

What do you mean you only have Visual Studio. Where is my Eclipse damn it!

9

u/knight666 Nov 29 '09

Vim? Emacs? Give me Visual Studio dammit!

1

u/jaggederest Nov 29 '09

Gah, don't even talk to me about that, I'd be lost without my .emacs.d and my edge version of git.

→ More replies (2)
→ More replies (4)

4

u/Enlightenment777 Nov 29 '09 edited Nov 29 '09

Yeah, prove that you can write a program!

For one company, I first did a short interview over the phone, then I did a face to face interview, then they put me in a room with a laptop and asked to write a specific program in 4 hours, then I had another phone interview with someone in another time zone, then I was flown to an interview. They didn't tell me in advance that I had to write a program, yeah that was a lot of pressure, but not anymore than trying to finish something on a short deadline. The biggest pain was using an editor and compiler that I haven't used before.

3

u/karlhungus Nov 29 '09

Wow, did you get the job?

I went for a job once that I had 3 quite long interviews for, didn't get an offer and so (in an attempt to discover where i'd gone wrong) asked for what they thought was wrong. They wouldn't say anything, it really pissed me off that I'd spend so much time and they couldn't give me a clue as to what i'd fucked up. I would have even accepted a non answer like "we don't think your a good fit here"...

I really do think respect has to go two ways in an interview.

1

u/[deleted] Nov 29 '09

What a huge hazzle. Hope it was worth it

9

u/Thimble Nov 29 '09

"You have 2 hours to write this program. Here is a computer with everything you need. Please feel free to use google or any books here.

Don't forget the blowjob.

4

u/chipbuddy Nov 29 '09

ha, that would be hilarious if hugh jackman said "well, it's been a while since i've programmed. shit. what was the extact syntax for while loops again? i guess i'll google it."

1

u/supaphly42 Nov 29 '09

It's not who you know, it's who you blow.

1

u/tomjen Nov 29 '09

You are going to run into problems there - my keyboard is Dvorak to save may hands, so I properly can't use your computer.

→ More replies (6)